├── .github └── config.yml ├── .gitignore ├── Arrays ├── ClosestDistancePoint.cpp ├── Delete_element.cpp ├── Delete_element.exe ├── Equilibrium_point.cpp ├── Four_Sum.cpp ├── Kadane's algorithm.cpp ├── Kadane's algorithm.exe ├── Leaders_in_array.cpp ├── Leaders_in_array.exe ├── Leftrotate_by1.cpp ├── Leftrotate_by1.exe ├── Maximum_consecutive_1s.cpp ├── Maximum_difference.cpp ├── Maximum_length even odd subarray.exe ├── Maximum_length_even_odd_subarray.cpp ├── Maximum_length_even_odd_subarray.exe ├── Maximum_sum_subarray_sizek.cpp ├── Minimum_group_flips.cpp ├── Moore's_voting_algorithm.cpp ├── Remove_dupicates_from_array.cpp ├── Remove_dupicates_from_array.exe ├── Reverse_an_array.cpp ├── Reverse_an_array.exe ├── Rotate and delete.cpp ├── Stock_buy_and_sell.cpp ├── Stock_buy_and_sell.exe ├── Trapping_rainwater.cpp ├── Trapping_rainwater.exe ├── Two Sum ├── check_sorted.cpp ├── check_sorted.exe ├── find_majority_element.cpp ├── frequencies-of-elements.cpp ├── insert_an_element.cpp ├── left_rotate_by_d.cpp ├── maximum circular subarray sum.cpp ├── prefix_sum.cpp ├── ssort.c ├── ssort.exe ├── stackasarray.cpp ├── sumOfElementsOfArray.cpp └── zerosum_triplets.cpp ├── Bit Magic ├── Bit difference.cpp ├── Bitwise_XOR.cpp ├── Bitwise_XOR.exe ├── Check_sparse.cpp ├── Rightmost_different_bit.cpp ├── check_kthbit_set.cpp ├── check_kthbit_set.exe ├── first_set_bit.cpp ├── first_set_bit.exe ├── longest_consecutive_1s.cpp ├── number_of_set_bits.cpp └── rotate_bits.cpp ├── Hashing ├── Implementation_of_open_addressing.cpp ├── Linear_probing.cpp ├── Maximum_points_on_a_line.cpp ├── Number_of_Pairs_With_Absolute_Difference_K.cpp ├── Professor_and_parties.cpp ├── Search_in_unordered_map.cpp ├── Search_in_unordered_map.exe ├── chaining.cpp ├── count_frequency.cpp ├── count_frequency.exe ├── first_unique_character_string.cpp ├── intersection_of_two_arrays.cpp ├── longest_subarray_with_given_sum.cpp ├── pair_sum_in_unsorted_array.cpp ├── sorting_elements_of_array_by_frequency.cpp ├── subarray_with_zreo_sum.cpp ├── subbarays_with_sumK.cpp ├── unordered_map.cpp ├── unordered_map.exe ├── unordered_set.cpp └── unordered_set.exe ├── Linked List ├── Add_Number.cpp ├── Copy_List_with_Random_Pointer.cpp ├── Detect_Loop_Using_Floyd’s Cycle-Finding Algorithm.cpp ├── MinStack.cpp ├── delete_a_Node_linked_list.cpp └── linked_list_merge_sort.cpp ├── Mathematics ├── Absolute_value.cpp ├── Absolute_value.exe ├── Celsius_to_fahrenheit.cpp ├── Celsius_to_fahrenheit.exe ├── Digits_in_factorial.cpp ├── Digits_in_factorial.exe ├── Factorial_of_a_number.cpp ├── Factorial_of_a_number.exe ├── PerimeterOfRectangle.cpp ├── Print_table_of_any_number.cpp ├── Quadratic_equationroots.cpp └── gcd_naive_and_fast.cpp ├── Matrix ├── ReverseSpiral_MATRIX.cpp ├── addition_of_two_matrix.cpp ├── boundary_elements.cpp ├── matrix function.cpp ├── matrix multiplication.cpp ├── multidimension array using vector.exe ├── multidimension_array_using_vector.cpp ├── multidimension_array_using_vector.exe ├── multidimensional_array_double_pointer.cpp ├── print_boundary_Elements.cpp ├── print_spiral_pattern.cpp ├── sum_of_upper_and_lower_triangles.cpp ├── vector_of_vectors.cpp └── vector_of_vectors.exe ├── Queue └── priorityQueue.cpp ├── README.md ├── Recursion ├── 2048_problem.cpp ├── 2048_problem.exe ├── Count_steps_towerofhanoi.cpp ├── Fast_power.cpp ├── Fibonacci.cpp ├── Fibonacci.exe ├── Min Squares.cpp ├── Palindrome.cpp ├── Rod_cutting.cpp ├── Subset_sum.cpp ├── Towerofhanoi.cpp ├── coin_permutation.cpp.txt ├── infinite_recursion.cpp ├── infinite_recursion.exe ├── keypad.cpp.txt ├── print_1_to_n.cpp ├── print_1_to_n.exe ├── print_n_to_1.cpp ├── print_n_to_1.exe ├── printing table of any number.cpp ├── sum_n_natural_numbers.cpp ├── sum_n_natural_numbers.exe ├── sum_of_digits.cpp └── sum_of_digits.exe ├── Searching ├── BInary_search recursive.cpp ├── Binary_search iterative.cpp ├── Index_of_first_occurence_recursive.cpp ├── Minimum size subarray sum ├── Peak_element.cpp ├── Search_in_infinte_size_array.cpp ├── count_more_than_k_occurences.cpp ├── find_square_root.cpp ├── index_of_last_occurence.cpp ├── index_of_last_occurence.exe ├── search_in_sorted_rotated.cpp └── two_pointer.cpp ├── Sorting ├── Bubble Sort.cpp ├── Heap.cpp ├── Hoares partition.cpp ├── Lometo_partition.cpp ├── Merge three sorted arrays.cpp ├── Merge_two_sorted_arrays.cpp ├── Sorting_vector.cpp ├── bucketsort.cpp ├── chocolate distribution.cpp ├── closer to sort.cpp ├── count_inversions.cpp ├── counting sort for string.cpp ├── counting sort.cpp ├── cycle sort.cpp ├── intersection_of_two_sorted_arrays.cpp ├── kth smallest element.cpp ├── merge overlapping intervals.cpp ├── merge_function.cpp ├── quick_sort.cpp ├── sort by absolute difference.cpp └── union_of_two_sorted_arrays.cpp ├── Stack ├── CheckBalancedParentheses.cpp ├── ReverseStringUsingStack.cpp ├── STACK_USING_2_QUEUES.cpp ├── buildStack.cpp └── buildStack.exe ├── Strings ├── Meta Strings Solution C++.txt ├── Meta Strings.txt ├── anagram.cpp ├── iterating_through_a_string.cpp ├── iterating_through_a_string.exe ├── largest_repeating_subsequence.cpp ├── longest_common_subsequence.cpp ├── rabin_karp.cpp ├── read_a_string.cpp ├── read_a_string.exe └── reverse_a_string.cpp ├── first_unique_character_string.cpp ├── graph ├── dijkstra_algorithm.cpp.txt ├── floyd_warshall.cpp ├── lagrange_interpolation.cpp └── newton-raphson-method.cpp └── min_operations_tp_make_all_element_equal.cpp /.github/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/.github/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/.gitignore -------------------------------------------------------------------------------- /Arrays/ClosestDistancePoint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/ClosestDistancePoint.cpp -------------------------------------------------------------------------------- /Arrays/Delete_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Delete_element.cpp -------------------------------------------------------------------------------- /Arrays/Delete_element.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Delete_element.exe -------------------------------------------------------------------------------- /Arrays/Equilibrium_point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Equilibrium_point.cpp -------------------------------------------------------------------------------- /Arrays/Four_Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Four_Sum.cpp -------------------------------------------------------------------------------- /Arrays/Kadane's algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Kadane's algorithm.cpp -------------------------------------------------------------------------------- /Arrays/Kadane's algorithm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Kadane's algorithm.exe -------------------------------------------------------------------------------- /Arrays/Leaders_in_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Leaders_in_array.cpp -------------------------------------------------------------------------------- /Arrays/Leaders_in_array.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Leaders_in_array.exe -------------------------------------------------------------------------------- /Arrays/Leftrotate_by1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Leftrotate_by1.cpp -------------------------------------------------------------------------------- /Arrays/Leftrotate_by1.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Leftrotate_by1.exe -------------------------------------------------------------------------------- /Arrays/Maximum_consecutive_1s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_consecutive_1s.cpp -------------------------------------------------------------------------------- /Arrays/Maximum_difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_difference.cpp -------------------------------------------------------------------------------- /Arrays/Maximum_length even odd subarray.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_length even odd subarray.exe -------------------------------------------------------------------------------- /Arrays/Maximum_length_even_odd_subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_length_even_odd_subarray.cpp -------------------------------------------------------------------------------- /Arrays/Maximum_length_even_odd_subarray.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_length_even_odd_subarray.exe -------------------------------------------------------------------------------- /Arrays/Maximum_sum_subarray_sizek.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Maximum_sum_subarray_sizek.cpp -------------------------------------------------------------------------------- /Arrays/Minimum_group_flips.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Minimum_group_flips.cpp -------------------------------------------------------------------------------- /Arrays/Moore's_voting_algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Moore's_voting_algorithm.cpp -------------------------------------------------------------------------------- /Arrays/Remove_dupicates_from_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Remove_dupicates_from_array.cpp -------------------------------------------------------------------------------- /Arrays/Remove_dupicates_from_array.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Remove_dupicates_from_array.exe -------------------------------------------------------------------------------- /Arrays/Reverse_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Reverse_an_array.cpp -------------------------------------------------------------------------------- /Arrays/Reverse_an_array.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Reverse_an_array.exe -------------------------------------------------------------------------------- /Arrays/Rotate and delete.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Rotate and delete.cpp -------------------------------------------------------------------------------- /Arrays/Stock_buy_and_sell.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Stock_buy_and_sell.cpp -------------------------------------------------------------------------------- /Arrays/Stock_buy_and_sell.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Stock_buy_and_sell.exe -------------------------------------------------------------------------------- /Arrays/Trapping_rainwater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Trapping_rainwater.cpp -------------------------------------------------------------------------------- /Arrays/Trapping_rainwater.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Trapping_rainwater.exe -------------------------------------------------------------------------------- /Arrays/Two Sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/Two Sum -------------------------------------------------------------------------------- /Arrays/check_sorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/check_sorted.cpp -------------------------------------------------------------------------------- /Arrays/check_sorted.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/check_sorted.exe -------------------------------------------------------------------------------- /Arrays/find_majority_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/find_majority_element.cpp -------------------------------------------------------------------------------- /Arrays/frequencies-of-elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/frequencies-of-elements.cpp -------------------------------------------------------------------------------- /Arrays/insert_an_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/insert_an_element.cpp -------------------------------------------------------------------------------- /Arrays/left_rotate_by_d.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/left_rotate_by_d.cpp -------------------------------------------------------------------------------- /Arrays/maximum circular subarray sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/maximum circular subarray sum.cpp -------------------------------------------------------------------------------- /Arrays/prefix_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/prefix_sum.cpp -------------------------------------------------------------------------------- /Arrays/ssort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/ssort.c -------------------------------------------------------------------------------- /Arrays/ssort.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/ssort.exe -------------------------------------------------------------------------------- /Arrays/stackasarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/stackasarray.cpp -------------------------------------------------------------------------------- /Arrays/sumOfElementsOfArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/sumOfElementsOfArray.cpp -------------------------------------------------------------------------------- /Arrays/zerosum_triplets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Arrays/zerosum_triplets.cpp -------------------------------------------------------------------------------- /Bit Magic/Bit difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/Bit difference.cpp -------------------------------------------------------------------------------- /Bit Magic/Bitwise_XOR.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/Bitwise_XOR.cpp -------------------------------------------------------------------------------- /Bit Magic/Bitwise_XOR.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/Bitwise_XOR.exe -------------------------------------------------------------------------------- /Bit Magic/Check_sparse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/Check_sparse.cpp -------------------------------------------------------------------------------- /Bit Magic/Rightmost_different_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/Rightmost_different_bit.cpp -------------------------------------------------------------------------------- /Bit Magic/check_kthbit_set.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/check_kthbit_set.cpp -------------------------------------------------------------------------------- /Bit Magic/check_kthbit_set.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/check_kthbit_set.exe -------------------------------------------------------------------------------- /Bit Magic/first_set_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/first_set_bit.cpp -------------------------------------------------------------------------------- /Bit Magic/first_set_bit.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/first_set_bit.exe -------------------------------------------------------------------------------- /Bit Magic/longest_consecutive_1s.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/longest_consecutive_1s.cpp -------------------------------------------------------------------------------- /Bit Magic/number_of_set_bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/number_of_set_bits.cpp -------------------------------------------------------------------------------- /Bit Magic/rotate_bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Bit Magic/rotate_bits.cpp -------------------------------------------------------------------------------- /Hashing/Implementation_of_open_addressing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Implementation_of_open_addressing.cpp -------------------------------------------------------------------------------- /Hashing/Linear_probing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Linear_probing.cpp -------------------------------------------------------------------------------- /Hashing/Maximum_points_on_a_line.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Maximum_points_on_a_line.cpp -------------------------------------------------------------------------------- /Hashing/Number_of_Pairs_With_Absolute_Difference_K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Number_of_Pairs_With_Absolute_Difference_K.cpp -------------------------------------------------------------------------------- /Hashing/Professor_and_parties.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Professor_and_parties.cpp -------------------------------------------------------------------------------- /Hashing/Search_in_unordered_map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Search_in_unordered_map.cpp -------------------------------------------------------------------------------- /Hashing/Search_in_unordered_map.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/Search_in_unordered_map.exe -------------------------------------------------------------------------------- /Hashing/chaining.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/chaining.cpp -------------------------------------------------------------------------------- /Hashing/count_frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/count_frequency.cpp -------------------------------------------------------------------------------- /Hashing/count_frequency.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/count_frequency.exe -------------------------------------------------------------------------------- /Hashing/first_unique_character_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/first_unique_character_string.cpp -------------------------------------------------------------------------------- /Hashing/intersection_of_two_arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/intersection_of_two_arrays.cpp -------------------------------------------------------------------------------- /Hashing/longest_subarray_with_given_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/longest_subarray_with_given_sum.cpp -------------------------------------------------------------------------------- /Hashing/pair_sum_in_unsorted_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/pair_sum_in_unsorted_array.cpp -------------------------------------------------------------------------------- /Hashing/sorting_elements_of_array_by_frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/sorting_elements_of_array_by_frequency.cpp -------------------------------------------------------------------------------- /Hashing/subarray_with_zreo_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/subarray_with_zreo_sum.cpp -------------------------------------------------------------------------------- /Hashing/subbarays_with_sumK.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Hashing/unordered_map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/unordered_map.cpp -------------------------------------------------------------------------------- /Hashing/unordered_map.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/unordered_map.exe -------------------------------------------------------------------------------- /Hashing/unordered_set.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/unordered_set.cpp -------------------------------------------------------------------------------- /Hashing/unordered_set.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Hashing/unordered_set.exe -------------------------------------------------------------------------------- /Linked List/Add_Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/Add_Number.cpp -------------------------------------------------------------------------------- /Linked List/Copy_List_with_Random_Pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/Copy_List_with_Random_Pointer.cpp -------------------------------------------------------------------------------- /Linked List/Detect_Loop_Using_Floyd’s Cycle-Finding Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/Detect_Loop_Using_Floyd’s Cycle-Finding Algorithm.cpp -------------------------------------------------------------------------------- /Linked List/MinStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/MinStack.cpp -------------------------------------------------------------------------------- /Linked List/delete_a_Node_linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/delete_a_Node_linked_list.cpp -------------------------------------------------------------------------------- /Linked List/linked_list_merge_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Linked List/linked_list_merge_sort.cpp -------------------------------------------------------------------------------- /Mathematics/Absolute_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Absolute_value.cpp -------------------------------------------------------------------------------- /Mathematics/Absolute_value.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Absolute_value.exe -------------------------------------------------------------------------------- /Mathematics/Celsius_to_fahrenheit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Celsius_to_fahrenheit.cpp -------------------------------------------------------------------------------- /Mathematics/Celsius_to_fahrenheit.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Celsius_to_fahrenheit.exe -------------------------------------------------------------------------------- /Mathematics/Digits_in_factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Digits_in_factorial.cpp -------------------------------------------------------------------------------- /Mathematics/Digits_in_factorial.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Digits_in_factorial.exe -------------------------------------------------------------------------------- /Mathematics/Factorial_of_a_number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Factorial_of_a_number.cpp -------------------------------------------------------------------------------- /Mathematics/Factorial_of_a_number.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Factorial_of_a_number.exe -------------------------------------------------------------------------------- /Mathematics/PerimeterOfRectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/PerimeterOfRectangle.cpp -------------------------------------------------------------------------------- /Mathematics/Print_table_of_any_number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Print_table_of_any_number.cpp -------------------------------------------------------------------------------- /Mathematics/Quadratic_equationroots.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/Quadratic_equationroots.cpp -------------------------------------------------------------------------------- /Mathematics/gcd_naive_and_fast.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Mathematics/gcd_naive_and_fast.cpp -------------------------------------------------------------------------------- /Matrix/ReverseSpiral_MATRIX.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/ReverseSpiral_MATRIX.cpp -------------------------------------------------------------------------------- /Matrix/addition_of_two_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/addition_of_two_matrix.cpp -------------------------------------------------------------------------------- /Matrix/boundary_elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/boundary_elements.cpp -------------------------------------------------------------------------------- /Matrix/matrix function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/matrix function.cpp -------------------------------------------------------------------------------- /Matrix/matrix multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/matrix multiplication.cpp -------------------------------------------------------------------------------- /Matrix/multidimension array using vector.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/multidimension array using vector.exe -------------------------------------------------------------------------------- /Matrix/multidimension_array_using_vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/multidimension_array_using_vector.cpp -------------------------------------------------------------------------------- /Matrix/multidimension_array_using_vector.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/multidimension_array_using_vector.exe -------------------------------------------------------------------------------- /Matrix/multidimensional_array_double_pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/multidimensional_array_double_pointer.cpp -------------------------------------------------------------------------------- /Matrix/print_boundary_Elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/print_boundary_Elements.cpp -------------------------------------------------------------------------------- /Matrix/print_spiral_pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/print_spiral_pattern.cpp -------------------------------------------------------------------------------- /Matrix/sum_of_upper_and_lower_triangles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/sum_of_upper_and_lower_triangles.cpp -------------------------------------------------------------------------------- /Matrix/vector_of_vectors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/vector_of_vectors.cpp -------------------------------------------------------------------------------- /Matrix/vector_of_vectors.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Matrix/vector_of_vectors.exe -------------------------------------------------------------------------------- /Queue/priorityQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Queue/priorityQueue.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/README.md -------------------------------------------------------------------------------- /Recursion/2048_problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/2048_problem.cpp -------------------------------------------------------------------------------- /Recursion/2048_problem.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/2048_problem.exe -------------------------------------------------------------------------------- /Recursion/Count_steps_towerofhanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Count_steps_towerofhanoi.cpp -------------------------------------------------------------------------------- /Recursion/Fast_power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Fast_power.cpp -------------------------------------------------------------------------------- /Recursion/Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Fibonacci.cpp -------------------------------------------------------------------------------- /Recursion/Fibonacci.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Fibonacci.exe -------------------------------------------------------------------------------- /Recursion/Min Squares.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Min Squares.cpp -------------------------------------------------------------------------------- /Recursion/Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Palindrome.cpp -------------------------------------------------------------------------------- /Recursion/Rod_cutting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Rod_cutting.cpp -------------------------------------------------------------------------------- /Recursion/Subset_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Subset_sum.cpp -------------------------------------------------------------------------------- /Recursion/Towerofhanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/Towerofhanoi.cpp -------------------------------------------------------------------------------- /Recursion/coin_permutation.cpp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/coin_permutation.cpp.txt -------------------------------------------------------------------------------- /Recursion/infinite_recursion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/infinite_recursion.cpp -------------------------------------------------------------------------------- /Recursion/infinite_recursion.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/infinite_recursion.exe -------------------------------------------------------------------------------- /Recursion/keypad.cpp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/keypad.cpp.txt -------------------------------------------------------------------------------- /Recursion/print_1_to_n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/print_1_to_n.cpp -------------------------------------------------------------------------------- /Recursion/print_1_to_n.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/print_1_to_n.exe -------------------------------------------------------------------------------- /Recursion/print_n_to_1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/print_n_to_1.cpp -------------------------------------------------------------------------------- /Recursion/print_n_to_1.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/print_n_to_1.exe -------------------------------------------------------------------------------- /Recursion/printing table of any number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/printing table of any number.cpp -------------------------------------------------------------------------------- /Recursion/sum_n_natural_numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/sum_n_natural_numbers.cpp -------------------------------------------------------------------------------- /Recursion/sum_n_natural_numbers.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/sum_n_natural_numbers.exe -------------------------------------------------------------------------------- /Recursion/sum_of_digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/sum_of_digits.cpp -------------------------------------------------------------------------------- /Recursion/sum_of_digits.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Recursion/sum_of_digits.exe -------------------------------------------------------------------------------- /Searching/BInary_search recursive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/BInary_search recursive.cpp -------------------------------------------------------------------------------- /Searching/Binary_search iterative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/Binary_search iterative.cpp -------------------------------------------------------------------------------- /Searching/Index_of_first_occurence_recursive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/Index_of_first_occurence_recursive.cpp -------------------------------------------------------------------------------- /Searching/Minimum size subarray sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/Minimum size subarray sum -------------------------------------------------------------------------------- /Searching/Peak_element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/Peak_element.cpp -------------------------------------------------------------------------------- /Searching/Search_in_infinte_size_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/Search_in_infinte_size_array.cpp -------------------------------------------------------------------------------- /Searching/count_more_than_k_occurences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/count_more_than_k_occurences.cpp -------------------------------------------------------------------------------- /Searching/find_square_root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/find_square_root.cpp -------------------------------------------------------------------------------- /Searching/index_of_last_occurence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/index_of_last_occurence.cpp -------------------------------------------------------------------------------- /Searching/index_of_last_occurence.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/index_of_last_occurence.exe -------------------------------------------------------------------------------- /Searching/search_in_sorted_rotated.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/search_in_sorted_rotated.cpp -------------------------------------------------------------------------------- /Searching/two_pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Searching/two_pointer.cpp -------------------------------------------------------------------------------- /Sorting/Bubble Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Bubble Sort.cpp -------------------------------------------------------------------------------- /Sorting/Heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Heap.cpp -------------------------------------------------------------------------------- /Sorting/Hoares partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Hoares partition.cpp -------------------------------------------------------------------------------- /Sorting/Lometo_partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Lometo_partition.cpp -------------------------------------------------------------------------------- /Sorting/Merge three sorted arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Merge three sorted arrays.cpp -------------------------------------------------------------------------------- /Sorting/Merge_two_sorted_arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Merge_two_sorted_arrays.cpp -------------------------------------------------------------------------------- /Sorting/Sorting_vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/Sorting_vector.cpp -------------------------------------------------------------------------------- /Sorting/bucketsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/bucketsort.cpp -------------------------------------------------------------------------------- /Sorting/chocolate distribution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/chocolate distribution.cpp -------------------------------------------------------------------------------- /Sorting/closer to sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/closer to sort.cpp -------------------------------------------------------------------------------- /Sorting/count_inversions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/count_inversions.cpp -------------------------------------------------------------------------------- /Sorting/counting sort for string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/counting sort for string.cpp -------------------------------------------------------------------------------- /Sorting/counting sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/counting sort.cpp -------------------------------------------------------------------------------- /Sorting/cycle sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/cycle sort.cpp -------------------------------------------------------------------------------- /Sorting/intersection_of_two_sorted_arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/intersection_of_two_sorted_arrays.cpp -------------------------------------------------------------------------------- /Sorting/kth smallest element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/kth smallest element.cpp -------------------------------------------------------------------------------- /Sorting/merge overlapping intervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/merge overlapping intervals.cpp -------------------------------------------------------------------------------- /Sorting/merge_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/merge_function.cpp -------------------------------------------------------------------------------- /Sorting/quick_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/quick_sort.cpp -------------------------------------------------------------------------------- /Sorting/sort by absolute difference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/sort by absolute difference.cpp -------------------------------------------------------------------------------- /Sorting/union_of_two_sorted_arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Sorting/union_of_two_sorted_arrays.cpp -------------------------------------------------------------------------------- /Stack/CheckBalancedParentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Stack/CheckBalancedParentheses.cpp -------------------------------------------------------------------------------- /Stack/ReverseStringUsingStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Stack/ReverseStringUsingStack.cpp -------------------------------------------------------------------------------- /Stack/STACK_USING_2_QUEUES.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Stack/STACK_USING_2_QUEUES.cpp -------------------------------------------------------------------------------- /Stack/buildStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Stack/buildStack.cpp -------------------------------------------------------------------------------- /Stack/buildStack.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Stack/buildStack.exe -------------------------------------------------------------------------------- /Strings/Meta Strings Solution C++.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/Meta Strings Solution C++.txt -------------------------------------------------------------------------------- /Strings/Meta Strings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/Meta Strings.txt -------------------------------------------------------------------------------- /Strings/anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/anagram.cpp -------------------------------------------------------------------------------- /Strings/iterating_through_a_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/iterating_through_a_string.cpp -------------------------------------------------------------------------------- /Strings/iterating_through_a_string.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/iterating_through_a_string.exe -------------------------------------------------------------------------------- /Strings/largest_repeating_subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/largest_repeating_subsequence.cpp -------------------------------------------------------------------------------- /Strings/longest_common_subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/longest_common_subsequence.cpp -------------------------------------------------------------------------------- /Strings/rabin_karp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/rabin_karp.cpp -------------------------------------------------------------------------------- /Strings/read_a_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/read_a_string.cpp -------------------------------------------------------------------------------- /Strings/read_a_string.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/read_a_string.exe -------------------------------------------------------------------------------- /Strings/reverse_a_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/Strings/reverse_a_string.cpp -------------------------------------------------------------------------------- /first_unique_character_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/first_unique_character_string.cpp -------------------------------------------------------------------------------- /graph/dijkstra_algorithm.cpp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/graph/dijkstra_algorithm.cpp.txt -------------------------------------------------------------------------------- /graph/floyd_warshall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/graph/floyd_warshall.cpp -------------------------------------------------------------------------------- /graph/lagrange_interpolation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/graph/lagrange_interpolation.cpp -------------------------------------------------------------------------------- /graph/newton-raphson-method.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/graph/newton-raphson-method.cpp -------------------------------------------------------------------------------- /min_operations_tp_make_all_element_equal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SakshamAgrwl/GFG-DSA-Problem-Solutions/HEAD/min_operations_tp_make_all_element_equal.cpp --------------------------------------------------------------------------------