├── 11 ├── 14 ├── 15 ├── 16 ├── 21 ├── 22 ├── 23 ├── 24 ├── .DS_Store ├── .github └── config.yml ├── 0-1 Knapsack ├── 01 ├── 02 ├── 03 ├── 04 ├── 05 ├── 494-Target_sum-Leetcode-DP.cpp ├── Abhinav_LongestAP.cpp ├── Array_Stack.cpp ├── Backtracking ├── Best_time_to_buy_stock_and_sell.cpp ├── Binary Exponentiation ├── Binary Matrix.cpp ├── BleakNumber.cpp ├── CG2.cpp ├── CalculateTheGivenSeries.cpp ├── CalculatorInC++.c++ ├── Check Balanced Paranthesis.cpp ├── Chiku ├── Clockwise_rotation _of_Linked_List.cpp ├── Coins_Denomination.cpp ├── Count ways to reach the n'th stair - dynamic programming.cpp ├── DSU ├── DSU_implementation.cpp ├── Delete_element_from_circular_linkedlist.cpp ├── Detect_Loop_in_Singly_linkedlist.cpp ├── DoublyLinkedlist.cpp ├── Equal_Sum_Partition.cpp ├── FIBONACCI _RECURSION.CPP ├── Fenwick_Tree.cpp ├── Find length circular linked list.cpp ├── Find second maximum element in array ├── First_set_bit.cpp ├── Fractional_Knapsack.cpp ├── FrequencyOfNumberInLinkedList.cpp ├── GCD.cpp ├── GoldMineProblem.cpp ├── Graph ├── Dijkstra’s shortest path algorithm ├── Dijsktra.cpp ├── FloydCycleFindingAlgo.cpp ├── Kruskal's(MST).cpp ├── Travelling Salesman Problem(branch and Bound Algorithm).cpp ├── detect_cycles_in_a_grid.cpp ├── implement_travelling_salesman.cpp └── topologicalSortShwetank.cpp ├── Happy_Number.cpp ├── HelpfulMaths.cpp ├── HuffmanCoding.cpp ├── IncrementingAlgorithm └── iota.cpp ├── Interleaving_string.cpp ├── Josephus Problem ├── KMP_ALGORITHM.cpp ├── Kadane's Algorithm via different method ├── Klee’s Algorithm (Length Of Union Of Segments of a line).cpp ├── Kth Largest ├── maxheap.cpp ├── minheap.cpp └── nthelement.cpp ├── LCS ├── LICENSE.md ├── LargestEvenNumber.cpp ├── Left rotate an array k times.cpp ├── LinkedListMiddle.cpp ├── Longest_Common_Subsequence.cpp ├── Longest_Palindromic_Subsequence.cpp ├── MatDiagSum.cpp ├── MatrixChainMultiplication.cpp ├── MaximumCircularSubarraySum.cpp ├── Merge two unsorted linked list ├── MinTimeVisitPoints.cpp ├── Minimax.cpp ├── Minimum_Path_Sum.cpp ├── MultiplicationWithoutUsingMultiplicationOperator.cpp ├── NewtonRaphsonAlgo.cpp ├── Next_Similar_Number.cpp ├── NumberSmallerThanANumberInArray.cpp ├── Pascals_triangle.cpp ├── Peak Element.cpp ├── PotsOfGold.cpp ├── Print Nth node from end in singly linked list.cpp ├── Print the array in spiral form ├── Program for fabonacci using recursion ├── Queue implementation using Array.cpp ├── Queueusing2Stacks.cpp ├── README.md ├── Rabin_Karp_Algorithm.cpp ├── Rat In A Maze.cpp ├── Reverse Linked List ├── Reverse an array.cpp ├── Rotate_matrixby90deg.c ├── Rotate_number_by_k.cpp ├── SearchingAlgorithms ├── Binary Search Tree │ └── BST.cpp ├── BinarySearchTree.cpp ├── Breadth_First_Search.cpp ├── Depth_first_search.cpp ├── LinkedListSearch.cpp ├── binary_search.cpp ├── fibonacci_search.cpp ├── jumpsearch.cpp ├── searchSortedMatrix.cpp └── ternary_search.cpp ├── Segment_tree.cpp ├── SeparateEvenAndOddNumbers.cpp ├── ShellSort.cpp ├── Shortest Subarray with Sum at least K.cpp ├── SinglyLinkedList.cpp ├── SinglyLinkedListIsPalidrome.cpp ├── SmallerThanCurrent.cpp ├── SortInWaveForm.cpp ├── SortingAlgorithms ├── Bucket_Sort.cpp ├── Iterative_Merge_Sort.CPP ├── Queue │ └── Queue.cpp ├── QuickSort.cpp ├── Radix_Sort.cpp ├── Selection Sort.cpp ├── Shell Sort.cpp ├── ShellSort.cpp ├── Shell_sort.cpp ├── bubble_sort.cpp ├── circle_sort.cpp ├── count_sort.cpp ├── countingsort_negative.cpp ├── heap_sort.cpp ├── insertion_sort.cpp ├── insertionsort.cpp ├── merge_sort.cpp ├── priorityqueue_sort.cpp ├── selection_sort.cpp ├── tim sort.cpp └── topological_sort.cpp ├── Span of an Array ├── Sparse Matrix └── sparse matrix.cpp ├── SparseMatricesAdd.cpp ├── Spiral traversal of matrix ├── SpiralOdereMatrixTraversal.cpp ├── Steps by Knight ├── Strassen’s Algorithm.cpp ├── StringPalindrome.cpp ├── SubsetSum.cpp ├── Sum of all nodes value of Binary Tree.cpp ├── SwapTwoNibbles.cpp ├── TaylorSeriesByHorner'sRule.cpp ├── Three_Sum.cpp ├── Towerofhanoi_usingStack.cpp ├── Trailing zeroes.cpp ├── Trees ├── B-tree.cpp ├── LCA in Binary Tree ├── Serialize and Deserialize Binary Tree.cpp ├── boundary_elements_of_tree.cpp ├── diameter_binary_tree.cpp ├── inorder_traversal.cpp ├── level_order_traversal-using-queue.cpp ├── level_order_traversal.cpp └── validate_binary_search_tree.cpp ├── Two_Sum.cpp ├── Vector representation of genreal sparse Matrix ├── WordBreak.cpp ├── XORlist.cpp ├── activity_selection.cpp ├── all_operations_doublyLinkedList ├── as ├── bankers_algorithm_safe_state.cpp ├── binaryLLtoDecimal.cpp ├── boyer_moore_horspool.cpp ├── check_if_number_is_palindrome_Scientist69.cpp ├── check_whether_number_is_palindrome_or_not_Scientist69.cpp ├── circular_queue_using_array.cpp ├── count_connected_components.cpp ├── count_sort.cpp ├── countingsort_negative.cpp ├── covid and cousin problem ├── covid and cousin problem.txt └── covid and cousin solution.cpp ├── design-add-and-search-words-data-structure.cpp ├── dis.cpp ├── double_circular_linkedlist.cpp ├── dynamic_coin_change.cpp ├── eular_totient.cpp ├── factorial.cpp ├── fibonacciNumberUsingMatrix.cpp ├── fibonacciNumberUsingMatrix.exe ├── fibonacci_xor.cpp ├── find_span_of_an_array.cpp ├── finding a perfect number ├── first missing.cpp ├── generate_subset.cpp ├── hash_table.cpp ├── ihn jju ├── implement queue using 2 stacks.cpp ├── josephusProblem.cpp ├── kadanealgorithm.cpp ├── largest_subarray_with_zero_sum.cpp ├── lazySegmentTree.cpp ├── linear_search.cpp ├── linedraw.cpp ├── lonelyElement.cpp ├── longestSubarray_with_equal_ones_and_zeros.cpp ├── longest_subsequence.cpp ├── matrix multiplication.cpp ├── matrix_to_sparse.cpp ├── median_element_of_an_array.cpp ├── median_of_an_array.cpp ├── merge_k_sorted_arrays.cpp ├── merge_sort.cpp ├── minimum number of swaps required to sort the array.cpp ├── minimum_swaps_to_sort_shanti16r.cpp ├── multiplication-without-multiplication_operator ├── nCr.cpp ├── ntUglyNumber ├── nth_catalan.cpp ├── oihyg ├── optimalStratergy.cpp ├── palindrome1.cpp ├── perfectnums.cpp ├── postorder_traversal.cpp ├── power.cpp ├── power_of_2.cpp ├── preorder_traversal.cpp ├── prime_factorisation.cpp ├── radix_sort_using_counting_sort.cpp ├── rangeMin.cpp ├── remainder-without-modulo.cpp ├── repeat.cpp ├── rodcut.cpp ├── searchelementincircularLL.cpp ├── selection_sort.cpp ├── shwetankInorderTraversal.cpp ├── sieveOfEratosthenes.cpp ├── simpleSum.cpp ├── sjsj ├── skiplist.cpp ├── sqrt.cpp ├── square_root.cpp ├── ss ├── sss ├── stack_using_array.cpp ├── tim sort.cpp └── towerofhanoi.cpp /11: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /14: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /15: -------------------------------------------------------------------------------- 1 | 15 2 | -------------------------------------------------------------------------------- /16: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /21: -------------------------------------------------------------------------------- 1 | 21 2 | -------------------------------------------------------------------------------- /22: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /23: -------------------------------------------------------------------------------- 1 | 23 2 | -------------------------------------------------------------------------------- /24: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/.DS_Store -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/.github/config.yml -------------------------------------------------------------------------------- /0-1 Knapsack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/0-1 Knapsack -------------------------------------------------------------------------------- /01: -------------------------------------------------------------------------------- 1 | 01 2 | -------------------------------------------------------------------------------- /02: -------------------------------------------------------------------------------- 1 | 02 2 | -------------------------------------------------------------------------------- /03: -------------------------------------------------------------------------------- 1 | 03 2 | -------------------------------------------------------------------------------- /04: -------------------------------------------------------------------------------- 1 | 04 2 | -------------------------------------------------------------------------------- /05: -------------------------------------------------------------------------------- 1 | 05 2 | -------------------------------------------------------------------------------- /494-Target_sum-Leetcode-DP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/494-Target_sum-Leetcode-DP.cpp -------------------------------------------------------------------------------- /Abhinav_LongestAP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Abhinav_LongestAP.cpp -------------------------------------------------------------------------------- /Array_Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Array_Stack.cpp -------------------------------------------------------------------------------- /Backtracking: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Backtracking -------------------------------------------------------------------------------- /Best_time_to_buy_stock_and_sell.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Best_time_to_buy_stock_and_sell.cpp -------------------------------------------------------------------------------- /Binary Exponentiation: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Binary Exponentiation -------------------------------------------------------------------------------- /Binary Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Binary Matrix.cpp -------------------------------------------------------------------------------- /BleakNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/BleakNumber.cpp -------------------------------------------------------------------------------- /CG2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/CG2.cpp -------------------------------------------------------------------------------- /CalculateTheGivenSeries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/CalculateTheGivenSeries.cpp -------------------------------------------------------------------------------- /CalculatorInC++.c++: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/CalculatorInC++.c++ -------------------------------------------------------------------------------- /Check Balanced Paranthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Check Balanced Paranthesis.cpp -------------------------------------------------------------------------------- /Chiku: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Chiku -------------------------------------------------------------------------------- /Clockwise_rotation _of_Linked_List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Clockwise_rotation _of_Linked_List.cpp -------------------------------------------------------------------------------- /Coins_Denomination.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Coins_Denomination.cpp -------------------------------------------------------------------------------- /Count ways to reach the n'th stair - dynamic programming.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Count ways to reach the n'th stair - dynamic programming.cpp -------------------------------------------------------------------------------- /DSU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/DSU -------------------------------------------------------------------------------- /DSU_implementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/DSU_implementation.cpp -------------------------------------------------------------------------------- /Delete_element_from_circular_linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Delete_element_from_circular_linkedlist.cpp -------------------------------------------------------------------------------- /Detect_Loop_in_Singly_linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Detect_Loop_in_Singly_linkedlist.cpp -------------------------------------------------------------------------------- /DoublyLinkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/DoublyLinkedlist.cpp -------------------------------------------------------------------------------- /Equal_Sum_Partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Equal_Sum_Partition.cpp -------------------------------------------------------------------------------- /FIBONACCI _RECURSION.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/FIBONACCI _RECURSION.CPP -------------------------------------------------------------------------------- /Fenwick_Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Fenwick_Tree.cpp -------------------------------------------------------------------------------- /Find length circular linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Find length circular linked list.cpp -------------------------------------------------------------------------------- /Find second maximum element in array: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Find second maximum element in array -------------------------------------------------------------------------------- /First_set_bit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/First_set_bit.cpp -------------------------------------------------------------------------------- /Fractional_Knapsack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Fractional_Knapsack.cpp -------------------------------------------------------------------------------- /FrequencyOfNumberInLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/FrequencyOfNumberInLinkedList.cpp -------------------------------------------------------------------------------- /GCD.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/GCD.cpp -------------------------------------------------------------------------------- /GoldMineProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/GoldMineProblem.cpp -------------------------------------------------------------------------------- /Graph/Dijkstra’s shortest path algorithm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/Dijkstra’s shortest path algorithm -------------------------------------------------------------------------------- /Graph/Dijsktra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/Dijsktra.cpp -------------------------------------------------------------------------------- /Graph/FloydCycleFindingAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/FloydCycleFindingAlgo.cpp -------------------------------------------------------------------------------- /Graph/Kruskal's(MST).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/Kruskal's(MST).cpp -------------------------------------------------------------------------------- /Graph/Travelling Salesman Problem(branch and Bound Algorithm).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/Travelling Salesman Problem(branch and Bound Algorithm).cpp -------------------------------------------------------------------------------- /Graph/detect_cycles_in_a_grid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/detect_cycles_in_a_grid.cpp -------------------------------------------------------------------------------- /Graph/implement_travelling_salesman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/implement_travelling_salesman.cpp -------------------------------------------------------------------------------- /Graph/topologicalSortShwetank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Graph/topologicalSortShwetank.cpp -------------------------------------------------------------------------------- /Happy_Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Happy_Number.cpp -------------------------------------------------------------------------------- /HelpfulMaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/HelpfulMaths.cpp -------------------------------------------------------------------------------- /HuffmanCoding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/HuffmanCoding.cpp -------------------------------------------------------------------------------- /IncrementingAlgorithm/iota.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/IncrementingAlgorithm/iota.cpp -------------------------------------------------------------------------------- /Interleaving_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Interleaving_string.cpp -------------------------------------------------------------------------------- /Josephus Problem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Josephus Problem -------------------------------------------------------------------------------- /KMP_ALGORITHM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/KMP_ALGORITHM.cpp -------------------------------------------------------------------------------- /Kadane's Algorithm via different method: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Kadane's Algorithm via different method -------------------------------------------------------------------------------- /Klee’s Algorithm (Length Of Union Of Segments of a line).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Klee’s Algorithm (Length Of Union Of Segments of a line).cpp -------------------------------------------------------------------------------- /Kth Largest/maxheap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Kth Largest/maxheap.cpp -------------------------------------------------------------------------------- /Kth Largest/minheap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Kth Largest/minheap.cpp -------------------------------------------------------------------------------- /Kth Largest/nthelement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Kth Largest/nthelement.cpp -------------------------------------------------------------------------------- /LCS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/LCS -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/LICENSE.md -------------------------------------------------------------------------------- /LargestEvenNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/LargestEvenNumber.cpp -------------------------------------------------------------------------------- /Left rotate an array k times.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Left rotate an array k times.cpp -------------------------------------------------------------------------------- /LinkedListMiddle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/LinkedListMiddle.cpp -------------------------------------------------------------------------------- /Longest_Common_Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Longest_Common_Subsequence.cpp -------------------------------------------------------------------------------- /Longest_Palindromic_Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Longest_Palindromic_Subsequence.cpp -------------------------------------------------------------------------------- /MatDiagSum.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /MatrixChainMultiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/MatrixChainMultiplication.cpp -------------------------------------------------------------------------------- /MaximumCircularSubarraySum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/MaximumCircularSubarraySum.cpp -------------------------------------------------------------------------------- /Merge two unsorted linked list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Merge two unsorted linked list -------------------------------------------------------------------------------- /MinTimeVisitPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/MinTimeVisitPoints.cpp -------------------------------------------------------------------------------- /Minimax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Minimax.cpp -------------------------------------------------------------------------------- /Minimum_Path_Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Minimum_Path_Sum.cpp -------------------------------------------------------------------------------- /MultiplicationWithoutUsingMultiplicationOperator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/MultiplicationWithoutUsingMultiplicationOperator.cpp -------------------------------------------------------------------------------- /NewtonRaphsonAlgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/NewtonRaphsonAlgo.cpp -------------------------------------------------------------------------------- /Next_Similar_Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Next_Similar_Number.cpp -------------------------------------------------------------------------------- /NumberSmallerThanANumberInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/NumberSmallerThanANumberInArray.cpp -------------------------------------------------------------------------------- /Pascals_triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Pascals_triangle.cpp -------------------------------------------------------------------------------- /Peak Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Peak Element.cpp -------------------------------------------------------------------------------- /PotsOfGold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/PotsOfGold.cpp -------------------------------------------------------------------------------- /Print Nth node from end in singly linked list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Print Nth node from end in singly linked list.cpp -------------------------------------------------------------------------------- /Print the array in spiral form: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Print the array in spiral form -------------------------------------------------------------------------------- /Program for fabonacci using recursion: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Program for fabonacci using recursion -------------------------------------------------------------------------------- /Queue implementation using Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Queue implementation using Array.cpp -------------------------------------------------------------------------------- /Queueusing2Stacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Queueusing2Stacks.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/README.md -------------------------------------------------------------------------------- /Rabin_Karp_Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Rabin_Karp_Algorithm.cpp -------------------------------------------------------------------------------- /Rat In A Maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Rat In A Maze.cpp -------------------------------------------------------------------------------- /Reverse Linked List: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Reverse Linked List -------------------------------------------------------------------------------- /Reverse an array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Reverse an array.cpp -------------------------------------------------------------------------------- /Rotate_matrixby90deg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Rotate_matrixby90deg.c -------------------------------------------------------------------------------- /Rotate_number_by_k.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Rotate_number_by_k.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/Binary Search Tree/BST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/Binary Search Tree/BST.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/BinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/BinarySearchTree.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/Breadth_First_Search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/Breadth_First_Search.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/Depth_first_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/Depth_first_search.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/LinkedListSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/LinkedListSearch.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/binary_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/binary_search.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/fibonacci_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/fibonacci_search.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/jumpsearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/jumpsearch.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/searchSortedMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/searchSortedMatrix.cpp -------------------------------------------------------------------------------- /SearchingAlgorithms/ternary_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SearchingAlgorithms/ternary_search.cpp -------------------------------------------------------------------------------- /Segment_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Segment_tree.cpp -------------------------------------------------------------------------------- /SeparateEvenAndOddNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SeparateEvenAndOddNumbers.cpp -------------------------------------------------------------------------------- /ShellSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/ShellSort.cpp -------------------------------------------------------------------------------- /Shortest Subarray with Sum at least K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Shortest Subarray with Sum at least K.cpp -------------------------------------------------------------------------------- /SinglyLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SinglyLinkedList.cpp -------------------------------------------------------------------------------- /SinglyLinkedListIsPalidrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SinglyLinkedListIsPalidrome.cpp -------------------------------------------------------------------------------- /SmallerThanCurrent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SmallerThanCurrent.cpp -------------------------------------------------------------------------------- /SortInWaveForm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortInWaveForm.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Bucket_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Bucket_Sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Iterative_Merge_Sort.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Iterative_Merge_Sort.CPP -------------------------------------------------------------------------------- /SortingAlgorithms/Queue/Queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Queue/Queue.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/QuickSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/QuickSort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Radix_Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Radix_Sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Selection Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Selection Sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Shell Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Shell Sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/ShellSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/ShellSort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/Shell_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/Shell_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/bubble_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/bubble_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/circle_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/circle_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/count_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/count_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/countingsort_negative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/countingsort_negative.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/heap_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/heap_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/insertion_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/insertion_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/insertionsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/insertionsort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/merge_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/merge_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/priorityqueue_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/priorityqueue_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/selection_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/selection_sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/tim sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/tim sort.cpp -------------------------------------------------------------------------------- /SortingAlgorithms/topological_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SortingAlgorithms/topological_sort.cpp -------------------------------------------------------------------------------- /Span of an Array: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Span of an Array -------------------------------------------------------------------------------- /Sparse Matrix/sparse matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Sparse Matrix/sparse matrix.cpp -------------------------------------------------------------------------------- /SparseMatricesAdd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SparseMatricesAdd.cpp -------------------------------------------------------------------------------- /Spiral traversal of matrix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Spiral traversal of matrix -------------------------------------------------------------------------------- /SpiralOdereMatrixTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SpiralOdereMatrixTraversal.cpp -------------------------------------------------------------------------------- /Steps by Knight: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Steps by Knight -------------------------------------------------------------------------------- /Strassen’s Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Strassen’s Algorithm.cpp -------------------------------------------------------------------------------- /StringPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/StringPalindrome.cpp -------------------------------------------------------------------------------- /SubsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SubsetSum.cpp -------------------------------------------------------------------------------- /Sum of all nodes value of Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Sum of all nodes value of Binary Tree.cpp -------------------------------------------------------------------------------- /SwapTwoNibbles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/SwapTwoNibbles.cpp -------------------------------------------------------------------------------- /TaylorSeriesByHorner'sRule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/TaylorSeriesByHorner'sRule.cpp -------------------------------------------------------------------------------- /Three_Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Three_Sum.cpp -------------------------------------------------------------------------------- /Towerofhanoi_usingStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Towerofhanoi_usingStack.cpp -------------------------------------------------------------------------------- /Trailing zeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trailing zeroes.cpp -------------------------------------------------------------------------------- /Trees/B-tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/B-tree.cpp -------------------------------------------------------------------------------- /Trees/LCA in Binary Tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/LCA in Binary Tree -------------------------------------------------------------------------------- /Trees/Serialize and Deserialize Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/Serialize and Deserialize Binary Tree.cpp -------------------------------------------------------------------------------- /Trees/boundary_elements_of_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/boundary_elements_of_tree.cpp -------------------------------------------------------------------------------- /Trees/diameter_binary_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/diameter_binary_tree.cpp -------------------------------------------------------------------------------- /Trees/inorder_traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/inorder_traversal.cpp -------------------------------------------------------------------------------- /Trees/level_order_traversal-using-queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/level_order_traversal-using-queue.cpp -------------------------------------------------------------------------------- /Trees/level_order_traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/level_order_traversal.cpp -------------------------------------------------------------------------------- /Trees/validate_binary_search_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Trees/validate_binary_search_tree.cpp -------------------------------------------------------------------------------- /Two_Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Two_Sum.cpp -------------------------------------------------------------------------------- /Vector representation of genreal sparse Matrix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/Vector representation of genreal sparse Matrix -------------------------------------------------------------------------------- /WordBreak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/WordBreak.cpp -------------------------------------------------------------------------------- /XORlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/XORlist.cpp -------------------------------------------------------------------------------- /activity_selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/activity_selection.cpp -------------------------------------------------------------------------------- /all_operations_doublyLinkedList: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/all_operations_doublyLinkedList -------------------------------------------------------------------------------- /as: -------------------------------------------------------------------------------- 1 | iebovd 2 | -------------------------------------------------------------------------------- /bankers_algorithm_safe_state.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/bankers_algorithm_safe_state.cpp -------------------------------------------------------------------------------- /binaryLLtoDecimal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/binaryLLtoDecimal.cpp -------------------------------------------------------------------------------- /boyer_moore_horspool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/boyer_moore_horspool.cpp -------------------------------------------------------------------------------- /check_if_number_is_palindrome_Scientist69.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/check_if_number_is_palindrome_Scientist69.cpp -------------------------------------------------------------------------------- /check_whether_number_is_palindrome_or_not_Scientist69.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/check_whether_number_is_palindrome_or_not_Scientist69.cpp -------------------------------------------------------------------------------- /circular_queue_using_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/circular_queue_using_array.cpp -------------------------------------------------------------------------------- /count_connected_components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/count_connected_components.cpp -------------------------------------------------------------------------------- /count_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/count_sort.cpp -------------------------------------------------------------------------------- /countingsort_negative.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/countingsort_negative.cpp -------------------------------------------------------------------------------- /covid and cousin problem/covid and cousin problem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/covid and cousin problem/covid and cousin problem.txt -------------------------------------------------------------------------------- /covid and cousin problem/covid and cousin solution.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/covid and cousin problem/covid and cousin solution.cpp -------------------------------------------------------------------------------- /design-add-and-search-words-data-structure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/design-add-and-search-words-data-structure.cpp -------------------------------------------------------------------------------- /dis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/dis.cpp -------------------------------------------------------------------------------- /double_circular_linkedlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/double_circular_linkedlist.cpp -------------------------------------------------------------------------------- /dynamic_coin_change.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/dynamic_coin_change.cpp -------------------------------------------------------------------------------- /eular_totient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/eular_totient.cpp -------------------------------------------------------------------------------- /factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/factorial.cpp -------------------------------------------------------------------------------- /fibonacciNumberUsingMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/fibonacciNumberUsingMatrix.cpp -------------------------------------------------------------------------------- /fibonacciNumberUsingMatrix.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/fibonacciNumberUsingMatrix.exe -------------------------------------------------------------------------------- /fibonacci_xor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/fibonacci_xor.cpp -------------------------------------------------------------------------------- /find_span_of_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/find_span_of_an_array.cpp -------------------------------------------------------------------------------- /finding a perfect number: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/finding a perfect number -------------------------------------------------------------------------------- /first missing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/first missing.cpp -------------------------------------------------------------------------------- /generate_subset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/generate_subset.cpp -------------------------------------------------------------------------------- /hash_table.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/hash_table.cpp -------------------------------------------------------------------------------- /ihn jju: -------------------------------------------------------------------------------- 1 | snsn 2 | -------------------------------------------------------------------------------- /implement queue using 2 stacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/implement queue using 2 stacks.cpp -------------------------------------------------------------------------------- /josephusProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/josephusProblem.cpp -------------------------------------------------------------------------------- /kadanealgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/kadanealgorithm.cpp -------------------------------------------------------------------------------- /largest_subarray_with_zero_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/largest_subarray_with_zero_sum.cpp -------------------------------------------------------------------------------- /lazySegmentTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/lazySegmentTree.cpp -------------------------------------------------------------------------------- /linear_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/linear_search.cpp -------------------------------------------------------------------------------- /linedraw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/linedraw.cpp -------------------------------------------------------------------------------- /lonelyElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/lonelyElement.cpp -------------------------------------------------------------------------------- /longestSubarray_with_equal_ones_and_zeros.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /longest_subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/longest_subsequence.cpp -------------------------------------------------------------------------------- /matrix multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/matrix multiplication.cpp -------------------------------------------------------------------------------- /matrix_to_sparse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/matrix_to_sparse.cpp -------------------------------------------------------------------------------- /median_element_of_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/median_element_of_an_array.cpp -------------------------------------------------------------------------------- /median_of_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/median_of_an_array.cpp -------------------------------------------------------------------------------- /merge_k_sorted_arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/merge_k_sorted_arrays.cpp -------------------------------------------------------------------------------- /merge_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/merge_sort.cpp -------------------------------------------------------------------------------- /minimum number of swaps required to sort the array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/minimum number of swaps required to sort the array.cpp -------------------------------------------------------------------------------- /minimum_swaps_to_sort_shanti16r.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/minimum_swaps_to_sort_shanti16r.cpp -------------------------------------------------------------------------------- /multiplication-without-multiplication_operator: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/multiplication-without-multiplication_operator -------------------------------------------------------------------------------- /nCr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/nCr.cpp -------------------------------------------------------------------------------- /ntUglyNumber: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/ntUglyNumber -------------------------------------------------------------------------------- /nth_catalan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/nth_catalan.cpp -------------------------------------------------------------------------------- /oihyg: -------------------------------------------------------------------------------- 1 | lkjbhg 2 | -------------------------------------------------------------------------------- /optimalStratergy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/optimalStratergy.cpp -------------------------------------------------------------------------------- /palindrome1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/palindrome1.cpp -------------------------------------------------------------------------------- /perfectnums.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/perfectnums.cpp -------------------------------------------------------------------------------- /postorder_traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/postorder_traversal.cpp -------------------------------------------------------------------------------- /power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/power.cpp -------------------------------------------------------------------------------- /power_of_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/power_of_2.cpp -------------------------------------------------------------------------------- /preorder_traversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/preorder_traversal.cpp -------------------------------------------------------------------------------- /prime_factorisation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/prime_factorisation.cpp -------------------------------------------------------------------------------- /radix_sort_using_counting_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/radix_sort_using_counting_sort.cpp -------------------------------------------------------------------------------- /rangeMin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/rangeMin.cpp -------------------------------------------------------------------------------- /remainder-without-modulo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/remainder-without-modulo.cpp -------------------------------------------------------------------------------- /repeat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/repeat.cpp -------------------------------------------------------------------------------- /rodcut.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/rodcut.cpp -------------------------------------------------------------------------------- /searchelementincircularLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/searchelementincircularLL.cpp -------------------------------------------------------------------------------- /selection_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/selection_sort.cpp -------------------------------------------------------------------------------- /shwetankInorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/shwetankInorderTraversal.cpp -------------------------------------------------------------------------------- /sieveOfEratosthenes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/sieveOfEratosthenes.cpp -------------------------------------------------------------------------------- /simpleSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/simpleSum.cpp -------------------------------------------------------------------------------- /sjsj: -------------------------------------------------------------------------------- 1 | shsh 2 | -------------------------------------------------------------------------------- /skiplist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/skiplist.cpp -------------------------------------------------------------------------------- /sqrt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/sqrt.cpp -------------------------------------------------------------------------------- /square_root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/square_root.cpp -------------------------------------------------------------------------------- /ss: -------------------------------------------------------------------------------- 1 | ss 2 | -------------------------------------------------------------------------------- /sss: -------------------------------------------------------------------------------- 1 | sss 2 | -------------------------------------------------------------------------------- /stack_using_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/stack_using_array.cpp -------------------------------------------------------------------------------- /tim sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/tim sort.cpp -------------------------------------------------------------------------------- /towerofhanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/HEAD/towerofhanoi.cpp --------------------------------------------------------------------------------