├── .vscode └── settings.json ├── 01. Wecome to Alpha ├── Telegram Channel.pdf └── website.pdf ├── 03. Prerequisites - Installation Resources └── Installation Resources.pdf ├── 06. Variables & DataTypes ├── Variables Questions (1).pdf ├── Variables Solutions.pdf ├── p10_Product_of_two_number.java ├── p11_Area_of_Circle.java ├── p12_Type_Conversion.java ├── p13_Type_Casting.java ├── p14_Type_promotion.java ├── p1_BoilerplateCode.java ├── p2_Output.java ├── p3_Print_a_Pattern.java ├── p4_Variables.java ├── p5_Data_Types.java ├── p6_sum_of_two_numbers.java ├── p7_Comments.java ├── p8_input_in_java.java └── p9_Sum_of_two_input_value.java ├── 07. Operators ├── Operator Precedence_V1.1.pdf ├── Operators Questions.pdf ├── Operators Solutions.pdf ├── p1_types_of_operators.java ├── p2_Arithmetic_Operators.java ├── p3_Relational_Operators.java ├── p4_Logical_Operators.java ├── p5_ASsignment_Operators.java ├── p6_StringConcatination.java └── p7_OperatorExample.java ├── 08. Conditional Statements ├── Conditional Questions.pdf ├── Conditional Solutions.pdf ├── p10_GradeCalculator.java ├── p1_if_else.java ├── p2_Print_the_largest_of_2_numbers.java ├── p3_Print_if_number_is_odd_or_Even.java ├── p4_using_else_if_Tax_calculator.java ├── p5_Print_the_largest_of_three_number.java ├── p6_ternary_operator.java ├── p7_check_if_a_student_will_pass_or_fail.java ├── p8_switch_statement.java └── p9_using_switch_Calculator.java ├── 09. Loops(Flow Control) ├── Loops Questions.pdf ├── Loops Solutions.pdf ├── p10_input_multiple_of_10.java ├── p11_Continue_Statement.java ├── p12_print_number_except_multiples_of_10.java ├── p13_Number_is_prime_or_not.java ├── p14_Optmize_way_to_prime.java ├── p1_while_Loop.java ├── p2_print_numbers_to_n_numbers.java ├── p3_sum_of_first_n_natural_number.java ├── p4_for_Loop.java ├── p5_print_square.java ├── p6_print_reverse_of_a_number.java ├── p7_reverse_the_given_nubmer.java ├── p8_do_while_loop.java └── p9_break_statement.java ├── 10. Patterns(Part-1) ├── 2-Advanced Patterns Note.pdf ├── p1_intro_to_Nested_Loops_star_Pattern.java ├── p2_Inverted_Strar_Patter.java ├── p3_Half_Pyramid_Pattern.java └── p4_Character_pattern.java ├── 11. Functions & Methods ├── Functions Questions.pdf ├── Functions Solutions.pdf ├── p10_a_number_is_prime_or_not.java ├── p11_a_number_is_prime_or_not_Optimized.java ├── p12_Primes_in_Range.java ├── p13_Binary_to_Decimal.java ├── p14_Decimal_to_Binary.java ├── p1_Syntax_of_Void_function_in_java.java ├── p2_Syntax_of_int_function_in_java.java ├── p3_Parameters_and_Arguments.java ├── p4_Call_by_value_and_Reference.java ├── p5_product_of_a_and_b.java ├── p6_Factorial_in_java.java ├── p7_Binomial_Coefficient.java ├── p8_overloading_using_parameters.java └── p9_overloading_using_Data_Types.java ├── 12. Patterns(Part-2)- Advanced ├── p10_Number_Pyramid.java ├── p11_Palindromic_Pattern_with_Numbers.java ├── p1_Hollow_Rectangle_Pattern.java ├── p2_Inverted_and_Rotated_Half_pyramid.java ├── p3_Inverted_Half_Pyramid_Pattern_with_Numbers.java ├── p4_Floyds_Triangle_Pattern.java ├── p5_0_1_Triangle_Pattern.java ├── p6_Butterfly_Pattern.java ├── p7_Solid_Rhombus_Pattern.java ├── p8_Hollow_Rhombus_Pattern.java └── p9_Diamod_Pattern.java ├── 13. ARRAYS ├── Arrays - Assignment_Type.pdf ├── Arrays - Solution (1).pdf ├── Space & Time Complexity (1) (1).pdf ├── p10_Print_Subarrays.java ├── p11_Sum_of_Subarray.java ├── p12_Max_Subarray_Sum_1_Brute_Force.java ├── p13_Max_Subarray_Sum_2_Prefix_Sum.java ├── p14_Max_Subarray_Sum_3_Kadane_s_Algorithm.java ├── p15_Trapping_Rainwater_Auxiliary_Array_IMP.java ├── p16_Best_Time_to_Buy_And_Sell_Stock.java ├── p17_Array_appears_at_least_twice.java ├── p18_Array_appears_at_least_twice_Approch2.java ├── p19_Sorted_Rotated_Array_using_Binary_Search.java ├── p1_Arrays_creation.java ├── p2_Array_input_output_update.java ├── p3_Arrays_as_Function_Arguments.java ├── p4_Linear_search.java ├── p5_Largest_in_Array.java ├── p6_Smallest_in_Array.java ├── p7_Binary_Search.java ├── p8_Reverse_an_Array.java └── p9_Pairs_in_Array.java ├── 14. Basic Sorting Algorithms ├── Basic Sorting Questions (1).pdf ├── Basic Sorting Solutions.pdf ├── p1_Bubble_Sort_Code.java ├── p2_Selection_Sort_Code.java ├── p3_Insertion_Sort_code.java ├── p4_Inbuilt_Sort_code.java ├── p5_Counting_Sort_Code.java ├── p6_Descending_Bubble_Sort_Code.java ├── p7_Descending_Selection_Sort_code.java ├── p8_Descending_Insertion_Sort_Code.java └── p9_Descending_Counting_Sort_Code.java ├── 15. 2-D Arrays ├── 2D Arrays Questions.pdf ├── 2D Arrays Solutions.pdf ├── p10_Transpose_of_Matrix.java ├── p11_CountNegativeNumbersInSorted2DArray.java ├── p12_MaxElementIn2DArray.java ├── p13_2DArray.java ├── p1_2D_Array_Declearation_Code.java ├── p2_Search_key_in_2D_Array_Code.java ├── p3_Spiral_Matrix_Code.java ├── p4_Diagonal_Sum_Brute_force.java ├── p5_Diagonal_Sum_Best_force.java ├── p6_Search_in_Sorted_Matrix_Brute_force.java ├── p7_Search_in_Sorted_Matrix_Best_force.java ├── p8_num_how_many_time_present_in_array.java └── p9_Sum_of_nth_row_in_2DArray.java ├── 16. Strings ├── StringQuestion.pdf ├── StringSolution.pdf ├── p10_largest_String_using_lexicographic.java ├── p11_StringBuilder_mutable_String.java ├── p12_first_letter_uppercase.java ├── p13_String_Compression.java ├── p14_Count_lowercased_vowels.java ├── p15_String_Anagrams.java ├── p16_firstNonRepeatedChar.java ├── p1_Introduction_String.java ├── p2_String_Input_Output.java ├── p3_String_length_Method.java ├── p4_String_Concatenation.java ├── p5_String_charAt.java ├── p6_Palindrome_String.java ├── p7_Shortest_path_to_reach_destination.java ├── p8_String_Compare_Methods.java └── p9_Substring_method.java ├── 17. Bit Manipulation ├── Question.pdf ├── Solution.pdf ├── p10_Set_Ith_Bit.java ├── p11_Clear_Ith_Bit.java ├── p12_Update_Ith_Bit.java ├── p13_Clear_Last_I_Bits.java ├── p14_Clear_Range_Of_Bits.java ├── p15_Check_If_A_Number_is_Power.java ├── p16_Count_Set_Bits_In_Number.java ├── p17_Fast_Exponentiation_bitManipulation.java ├── p18_SwapBits.java ├── p19_ReverseBits.java ├── p1_Introduction_to_Bitwise_Operator.java ├── p2_Binary_AND.java ├── p3_Binary_OR.java ├── p4_Binary_XOR.java ├── p5_Binary_Ones_Complement.java ├── p6_Binary_Left_Shift.java ├── p7_Binary_Right_Shift.java ├── p8_Odd_or_Even_using_Bitwise.java └── p9_Get_ith_Bit.java └── 18. Oops ├── p1_What_is_Class.java ├── p2_Access_Modifiers.java ├── p3_Getters_setters.java ├── p4_Encapsulation.java ├── p5_Constructors.java ├── p6_Type_of_Constructors.java ├── p7_Copy_Constructor.java └── p8_Destructors.java /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /01. Wecome to Alpha/Telegram Channel.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/01. Wecome to Alpha/Telegram Channel.pdf -------------------------------------------------------------------------------- /01. Wecome to Alpha/website.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/01. Wecome to Alpha/website.pdf -------------------------------------------------------------------------------- /03. Prerequisites - Installation Resources/Installation Resources.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/03. Prerequisites - Installation Resources/Installation Resources.pdf -------------------------------------------------------------------------------- /06. Variables & DataTypes/Variables Questions (1).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/Variables Questions (1).pdf -------------------------------------------------------------------------------- /06. Variables & DataTypes/Variables Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/Variables Solutions.pdf -------------------------------------------------------------------------------- /06. Variables & DataTypes/p10_Product_of_two_number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p10_Product_of_two_number.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p11_Area_of_Circle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p11_Area_of_Circle.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p12_Type_Conversion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p12_Type_Conversion.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p13_Type_Casting.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p13_Type_Casting.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p14_Type_promotion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p14_Type_promotion.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p1_BoilerplateCode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p1_BoilerplateCode.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p2_Output.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p2_Output.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p3_Print_a_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p3_Print_a_Pattern.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p4_Variables.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p4_Variables.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p5_Data_Types.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p5_Data_Types.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p6_sum_of_two_numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p6_sum_of_two_numbers.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p7_Comments.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p7_Comments.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p8_input_in_java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p8_input_in_java.java -------------------------------------------------------------------------------- /06. Variables & DataTypes/p9_Sum_of_two_input_value.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/06. Variables & DataTypes/p9_Sum_of_two_input_value.java -------------------------------------------------------------------------------- /07. Operators/Operator Precedence_V1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/Operator Precedence_V1.1.pdf -------------------------------------------------------------------------------- /07. Operators/Operators Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/Operators Questions.pdf -------------------------------------------------------------------------------- /07. Operators/Operators Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/Operators Solutions.pdf -------------------------------------------------------------------------------- /07. Operators/p1_types_of_operators.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p1_types_of_operators.java -------------------------------------------------------------------------------- /07. Operators/p2_Arithmetic_Operators.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p2_Arithmetic_Operators.java -------------------------------------------------------------------------------- /07. Operators/p3_Relational_Operators.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p3_Relational_Operators.java -------------------------------------------------------------------------------- /07. Operators/p4_Logical_Operators.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p4_Logical_Operators.java -------------------------------------------------------------------------------- /07. Operators/p5_ASsignment_Operators.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p5_ASsignment_Operators.java -------------------------------------------------------------------------------- /07. Operators/p6_StringConcatination.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p6_StringConcatination.java -------------------------------------------------------------------------------- /07. Operators/p7_OperatorExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/07. Operators/p7_OperatorExample.java -------------------------------------------------------------------------------- /08. Conditional Statements/Conditional Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/Conditional Questions.pdf -------------------------------------------------------------------------------- /08. Conditional Statements/Conditional Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/Conditional Solutions.pdf -------------------------------------------------------------------------------- /08. Conditional Statements/p10_GradeCalculator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p10_GradeCalculator.java -------------------------------------------------------------------------------- /08. Conditional Statements/p1_if_else.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p1_if_else.java -------------------------------------------------------------------------------- /08. Conditional Statements/p2_Print_the_largest_of_2_numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p2_Print_the_largest_of_2_numbers.java -------------------------------------------------------------------------------- /08. Conditional Statements/p3_Print_if_number_is_odd_or_Even.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p3_Print_if_number_is_odd_or_Even.java -------------------------------------------------------------------------------- /08. Conditional Statements/p4_using_else_if_Tax_calculator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p4_using_else_if_Tax_calculator.java -------------------------------------------------------------------------------- /08. Conditional Statements/p5_Print_the_largest_of_three_number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p5_Print_the_largest_of_three_number.java -------------------------------------------------------------------------------- /08. Conditional Statements/p6_ternary_operator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p6_ternary_operator.java -------------------------------------------------------------------------------- /08. Conditional Statements/p7_check_if_a_student_will_pass_or_fail.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p7_check_if_a_student_will_pass_or_fail.java -------------------------------------------------------------------------------- /08. Conditional Statements/p8_switch_statement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p8_switch_statement.java -------------------------------------------------------------------------------- /08. Conditional Statements/p9_using_switch_Calculator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/08. Conditional Statements/p9_using_switch_Calculator.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/Loops Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/Loops Questions.pdf -------------------------------------------------------------------------------- /09. Loops(Flow Control)/Loops Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/Loops Solutions.pdf -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p10_input_multiple_of_10.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p10_input_multiple_of_10.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p11_Continue_Statement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p11_Continue_Statement.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p12_print_number_except_multiples_of_10.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p12_print_number_except_multiples_of_10.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p13_Number_is_prime_or_not.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p13_Number_is_prime_or_not.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p14_Optmize_way_to_prime.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p14_Optmize_way_to_prime.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p1_while_Loop.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p1_while_Loop.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p2_print_numbers_to_n_numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p2_print_numbers_to_n_numbers.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p3_sum_of_first_n_natural_number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p3_sum_of_first_n_natural_number.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p4_for_Loop.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p4_for_Loop.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p5_print_square.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p5_print_square.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p6_print_reverse_of_a_number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p6_print_reverse_of_a_number.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p7_reverse_the_given_nubmer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p7_reverse_the_given_nubmer.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p8_do_while_loop.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p8_do_while_loop.java -------------------------------------------------------------------------------- /09. Loops(Flow Control)/p9_break_statement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/09. Loops(Flow Control)/p9_break_statement.java -------------------------------------------------------------------------------- /10. Patterns(Part-1)/2-Advanced Patterns Note.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/10. Patterns(Part-1)/2-Advanced Patterns Note.pdf -------------------------------------------------------------------------------- /10. Patterns(Part-1)/p1_intro_to_Nested_Loops_star_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/10. Patterns(Part-1)/p1_intro_to_Nested_Loops_star_Pattern.java -------------------------------------------------------------------------------- /10. Patterns(Part-1)/p2_Inverted_Strar_Patter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/10. Patterns(Part-1)/p2_Inverted_Strar_Patter.java -------------------------------------------------------------------------------- /10. Patterns(Part-1)/p3_Half_Pyramid_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/10. Patterns(Part-1)/p3_Half_Pyramid_Pattern.java -------------------------------------------------------------------------------- /10. Patterns(Part-1)/p4_Character_pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/10. Patterns(Part-1)/p4_Character_pattern.java -------------------------------------------------------------------------------- /11. Functions & Methods/Functions Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/Functions Questions.pdf -------------------------------------------------------------------------------- /11. Functions & Methods/Functions Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/Functions Solutions.pdf -------------------------------------------------------------------------------- /11. Functions & Methods/p10_a_number_is_prime_or_not.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p10_a_number_is_prime_or_not.java -------------------------------------------------------------------------------- /11. Functions & Methods/p11_a_number_is_prime_or_not_Optimized.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p11_a_number_is_prime_or_not_Optimized.java -------------------------------------------------------------------------------- /11. Functions & Methods/p12_Primes_in_Range.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p12_Primes_in_Range.java -------------------------------------------------------------------------------- /11. Functions & Methods/p13_Binary_to_Decimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p13_Binary_to_Decimal.java -------------------------------------------------------------------------------- /11. Functions & Methods/p14_Decimal_to_Binary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p14_Decimal_to_Binary.java -------------------------------------------------------------------------------- /11. Functions & Methods/p1_Syntax_of_Void_function_in_java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p1_Syntax_of_Void_function_in_java.java -------------------------------------------------------------------------------- /11. Functions & Methods/p2_Syntax_of_int_function_in_java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p2_Syntax_of_int_function_in_java.java -------------------------------------------------------------------------------- /11. Functions & Methods/p3_Parameters_and_Arguments.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p3_Parameters_and_Arguments.java -------------------------------------------------------------------------------- /11. Functions & Methods/p4_Call_by_value_and_Reference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p4_Call_by_value_and_Reference.java -------------------------------------------------------------------------------- /11. Functions & Methods/p5_product_of_a_and_b.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p5_product_of_a_and_b.java -------------------------------------------------------------------------------- /11. Functions & Methods/p6_Factorial_in_java.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p6_Factorial_in_java.java -------------------------------------------------------------------------------- /11. Functions & Methods/p7_Binomial_Coefficient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p7_Binomial_Coefficient.java -------------------------------------------------------------------------------- /11. Functions & Methods/p8_overloading_using_parameters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p8_overloading_using_parameters.java -------------------------------------------------------------------------------- /11. Functions & Methods/p9_overloading_using_Data_Types.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/11. Functions & Methods/p9_overloading_using_Data_Types.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p10_Number_Pyramid.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p10_Number_Pyramid.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p11_Palindromic_Pattern_with_Numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p11_Palindromic_Pattern_with_Numbers.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p1_Hollow_Rectangle_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p1_Hollow_Rectangle_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p2_Inverted_and_Rotated_Half_pyramid.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p2_Inverted_and_Rotated_Half_pyramid.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p3_Inverted_Half_Pyramid_Pattern_with_Numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p3_Inverted_Half_Pyramid_Pattern_with_Numbers.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p4_Floyds_Triangle_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p4_Floyds_Triangle_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p5_0_1_Triangle_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p5_0_1_Triangle_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p6_Butterfly_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p6_Butterfly_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p7_Solid_Rhombus_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p7_Solid_Rhombus_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p8_Hollow_Rhombus_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p8_Hollow_Rhombus_Pattern.java -------------------------------------------------------------------------------- /12. Patterns(Part-2)- Advanced/p9_Diamod_Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/12. Patterns(Part-2)- Advanced/p9_Diamod_Pattern.java -------------------------------------------------------------------------------- /13. ARRAYS/Arrays - Assignment_Type.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/Arrays - Assignment_Type.pdf -------------------------------------------------------------------------------- /13. ARRAYS/Arrays - Solution (1).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/Arrays - Solution (1).pdf -------------------------------------------------------------------------------- /13. ARRAYS/Space & Time Complexity (1) (1).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/Space & Time Complexity (1) (1).pdf -------------------------------------------------------------------------------- /13. ARRAYS/p10_Print_Subarrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p10_Print_Subarrays.java -------------------------------------------------------------------------------- /13. ARRAYS/p11_Sum_of_Subarray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p11_Sum_of_Subarray.java -------------------------------------------------------------------------------- /13. ARRAYS/p12_Max_Subarray_Sum_1_Brute_Force.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p12_Max_Subarray_Sum_1_Brute_Force.java -------------------------------------------------------------------------------- /13. ARRAYS/p13_Max_Subarray_Sum_2_Prefix_Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p13_Max_Subarray_Sum_2_Prefix_Sum.java -------------------------------------------------------------------------------- /13. ARRAYS/p14_Max_Subarray_Sum_3_Kadane_s_Algorithm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p14_Max_Subarray_Sum_3_Kadane_s_Algorithm.java -------------------------------------------------------------------------------- /13. ARRAYS/p15_Trapping_Rainwater_Auxiliary_Array_IMP.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p15_Trapping_Rainwater_Auxiliary_Array_IMP.java -------------------------------------------------------------------------------- /13. ARRAYS/p16_Best_Time_to_Buy_And_Sell_Stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p16_Best_Time_to_Buy_And_Sell_Stock.java -------------------------------------------------------------------------------- /13. ARRAYS/p17_Array_appears_at_least_twice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p17_Array_appears_at_least_twice.java -------------------------------------------------------------------------------- /13. ARRAYS/p18_Array_appears_at_least_twice_Approch2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p18_Array_appears_at_least_twice_Approch2.java -------------------------------------------------------------------------------- /13. ARRAYS/p19_Sorted_Rotated_Array_using_Binary_Search.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p19_Sorted_Rotated_Array_using_Binary_Search.java -------------------------------------------------------------------------------- /13. ARRAYS/p1_Arrays_creation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p1_Arrays_creation.java -------------------------------------------------------------------------------- /13. ARRAYS/p2_Array_input_output_update.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p2_Array_input_output_update.java -------------------------------------------------------------------------------- /13. ARRAYS/p3_Arrays_as_Function_Arguments.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p3_Arrays_as_Function_Arguments.java -------------------------------------------------------------------------------- /13. ARRAYS/p4_Linear_search.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p4_Linear_search.java -------------------------------------------------------------------------------- /13. ARRAYS/p5_Largest_in_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p5_Largest_in_Array.java -------------------------------------------------------------------------------- /13. ARRAYS/p6_Smallest_in_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p6_Smallest_in_Array.java -------------------------------------------------------------------------------- /13. ARRAYS/p7_Binary_Search.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p7_Binary_Search.java -------------------------------------------------------------------------------- /13. ARRAYS/p8_Reverse_an_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p8_Reverse_an_Array.java -------------------------------------------------------------------------------- /13. ARRAYS/p9_Pairs_in_Array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/13. ARRAYS/p9_Pairs_in_Array.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/Basic Sorting Questions (1).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/Basic Sorting Questions (1).pdf -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/Basic Sorting Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/Basic Sorting Solutions.pdf -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p1_Bubble_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p1_Bubble_Sort_Code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p2_Selection_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p2_Selection_Sort_Code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p3_Insertion_Sort_code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p3_Insertion_Sort_code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p4_Inbuilt_Sort_code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p4_Inbuilt_Sort_code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p5_Counting_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p5_Counting_Sort_Code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p6_Descending_Bubble_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p6_Descending_Bubble_Sort_Code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p7_Descending_Selection_Sort_code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p7_Descending_Selection_Sort_code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p8_Descending_Insertion_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p8_Descending_Insertion_Sort_Code.java -------------------------------------------------------------------------------- /14. Basic Sorting Algorithms/p9_Descending_Counting_Sort_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/14. Basic Sorting Algorithms/p9_Descending_Counting_Sort_Code.java -------------------------------------------------------------------------------- /15. 2-D Arrays/2D Arrays Questions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/2D Arrays Questions.pdf -------------------------------------------------------------------------------- /15. 2-D Arrays/2D Arrays Solutions.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/2D Arrays Solutions.pdf -------------------------------------------------------------------------------- /15. 2-D Arrays/p10_Transpose_of_Matrix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p10_Transpose_of_Matrix.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p11_CountNegativeNumbersInSorted2DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p11_CountNegativeNumbersInSorted2DArray.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p12_MaxElementIn2DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p12_MaxElementIn2DArray.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p13_2DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p13_2DArray.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p1_2D_Array_Declearation_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p1_2D_Array_Declearation_Code.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p2_Search_key_in_2D_Array_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p2_Search_key_in_2D_Array_Code.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p3_Spiral_Matrix_Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p3_Spiral_Matrix_Code.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p4_Diagonal_Sum_Brute_force.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p4_Diagonal_Sum_Brute_force.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p5_Diagonal_Sum_Best_force.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p5_Diagonal_Sum_Best_force.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p6_Search_in_Sorted_Matrix_Brute_force.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p6_Search_in_Sorted_Matrix_Brute_force.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p7_Search_in_Sorted_Matrix_Best_force.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p7_Search_in_Sorted_Matrix_Best_force.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p8_num_how_many_time_present_in_array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p8_num_how_many_time_present_in_array.java -------------------------------------------------------------------------------- /15. 2-D Arrays/p9_Sum_of_nth_row_in_2DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/15. 2-D Arrays/p9_Sum_of_nth_row_in_2DArray.java -------------------------------------------------------------------------------- /16. Strings/StringQuestion.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/StringQuestion.pdf -------------------------------------------------------------------------------- /16. Strings/StringSolution.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/StringSolution.pdf -------------------------------------------------------------------------------- /16. Strings/p10_largest_String_using_lexicographic.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p10_largest_String_using_lexicographic.java -------------------------------------------------------------------------------- /16. Strings/p11_StringBuilder_mutable_String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p11_StringBuilder_mutable_String.java -------------------------------------------------------------------------------- /16. Strings/p12_first_letter_uppercase.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p12_first_letter_uppercase.java -------------------------------------------------------------------------------- /16. Strings/p13_String_Compression.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p13_String_Compression.java -------------------------------------------------------------------------------- /16. Strings/p14_Count_lowercased_vowels.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p14_Count_lowercased_vowels.java -------------------------------------------------------------------------------- /16. Strings/p15_String_Anagrams.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p15_String_Anagrams.java -------------------------------------------------------------------------------- /16. Strings/p16_firstNonRepeatedChar.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p16_firstNonRepeatedChar.java -------------------------------------------------------------------------------- /16. Strings/p1_Introduction_String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p1_Introduction_String.java -------------------------------------------------------------------------------- /16. Strings/p2_String_Input_Output.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p2_String_Input_Output.java -------------------------------------------------------------------------------- /16. Strings/p3_String_length_Method.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p3_String_length_Method.java -------------------------------------------------------------------------------- /16. Strings/p4_String_Concatenation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p4_String_Concatenation.java -------------------------------------------------------------------------------- /16. Strings/p5_String_charAt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p5_String_charAt.java -------------------------------------------------------------------------------- /16. Strings/p6_Palindrome_String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p6_Palindrome_String.java -------------------------------------------------------------------------------- /16. Strings/p7_Shortest_path_to_reach_destination.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p7_Shortest_path_to_reach_destination.java -------------------------------------------------------------------------------- /16. Strings/p8_String_Compare_Methods.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p8_String_Compare_Methods.java -------------------------------------------------------------------------------- /16. Strings/p9_Substring_method.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/16. Strings/p9_Substring_method.java -------------------------------------------------------------------------------- /17. Bit Manipulation/Question.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/Question.pdf -------------------------------------------------------------------------------- /17. Bit Manipulation/Solution.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/Solution.pdf -------------------------------------------------------------------------------- /17. Bit Manipulation/p10_Set_Ith_Bit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p10_Set_Ith_Bit.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p11_Clear_Ith_Bit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p11_Clear_Ith_Bit.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p12_Update_Ith_Bit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p12_Update_Ith_Bit.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p13_Clear_Last_I_Bits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p13_Clear_Last_I_Bits.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p14_Clear_Range_Of_Bits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p14_Clear_Range_Of_Bits.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p15_Check_If_A_Number_is_Power.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p15_Check_If_A_Number_is_Power.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p16_Count_Set_Bits_In_Number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p16_Count_Set_Bits_In_Number.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p17_Fast_Exponentiation_bitManipulation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p17_Fast_Exponentiation_bitManipulation.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p18_SwapBits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p18_SwapBits.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p19_ReverseBits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p19_ReverseBits.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p1_Introduction_to_Bitwise_Operator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p1_Introduction_to_Bitwise_Operator.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p2_Binary_AND.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p2_Binary_AND.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p3_Binary_OR.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p3_Binary_OR.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p4_Binary_XOR.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p4_Binary_XOR.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p5_Binary_Ones_Complement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p5_Binary_Ones_Complement.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p6_Binary_Left_Shift.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p6_Binary_Left_Shift.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p7_Binary_Right_Shift.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p7_Binary_Right_Shift.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p8_Odd_or_Even_using_Bitwise.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p8_Odd_or_Even_using_Bitwise.java -------------------------------------------------------------------------------- /17. Bit Manipulation/p9_Get_ith_Bit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/17. Bit Manipulation/p9_Get_ith_Bit.java -------------------------------------------------------------------------------- /18. Oops/p1_What_is_Class.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p1_What_is_Class.java -------------------------------------------------------------------------------- /18. Oops/p2_Access_Modifiers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p2_Access_Modifiers.java -------------------------------------------------------------------------------- /18. Oops/p3_Getters_setters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p3_Getters_setters.java -------------------------------------------------------------------------------- /18. Oops/p4_Encapsulation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p4_Encapsulation.java -------------------------------------------------------------------------------- /18. Oops/p5_Constructors.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p5_Constructors.java -------------------------------------------------------------------------------- /18. Oops/p6_Type_of_Constructors.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p6_Type_of_Constructors.java -------------------------------------------------------------------------------- /18. Oops/p7_Copy_Constructor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p7_Copy_Constructor.java -------------------------------------------------------------------------------- /18. Oops/p8_Destructors.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/priyanshugour70/Data-Structures-and-Algorithms-in-Java/HEAD/18. Oops/p8_Destructors.java --------------------------------------------------------------------------------