├── .gitignore ├── 1.Singly-Linked-list ├── AddTwoNumbersRepresentedByLinkedList.c ├── BubbleSortLinkedList.c ├── LinkedList.c ├── MergeSortLinkedList.c ├── MergeSortedLinkedList.c ├── ReverseASstringLinkedListStack.c └── rreverse.c ├── 10.Graphs ├── FloydWarshallAlgorithm.cpp ├── AStarSearchAlgorithm.cpp ├── BellmanFord.cpp ├── BreadthFirstSearch.c ├── BreadthFirstSearch.cpp ├── CheckBipartiteUsingBFS.cpp ├── DepthFirstSearch.c ├── DepthFirstSearch.cpp ├── DetectCycle.cpp ├── DiameterUsingBFS.cpp ├── DijkstrasSSSP.c ├── DijkstrasShortestPathAlgorithm.cpp ├── EulerianGraphs.cpp ├── Flow Networks │ └── FordFulkerson.cpp ├── Graphs.c ├── KosarajuSCC.cpp ├── KosarajusSCC.c ├── KruskalsMinimumSpanningTree.cpp ├── LongestPathInADirectedAcyclicGraph.cpp ├── MST_Kruskals.c ├── PrimsMinimumSpanningTree.cpp ├── ShortestPathUsingBFS.cpp ├── TopologicalSorting.c ├── TopologicalSorting.cpp └── TransposeAGraph.cpp ├── 11.Trie └── Trie.cpp ├── 12.Greedy-Algorithms ├── ActivitySelectionProblem.c ├── DijkstrasSSSP.c ├── HuffmanCoding.c ├── MST_Kruskals.c └── MinimizeLateness.c ├── 13.Dynamic-programming ├── BalancedPartition.cpp ├── Boolean Parenthesization Problem │ └── BooleanParenthesizationProblemBottomUp.cpp ├── BoxStacking.cpp ├── BuildingBridges.cpp ├── CoinChangingProblem │ ├── CoinChangingProblemBottomUp.cpp │ └── CoinChangingProblemTopDown.cpp ├── Edit Distance │ ├── EditDistanceBottomUp.cpp │ └── EditDistanceTopDown.cpp ├── FibonacciNumbers.c ├── Knapsack problem with repititions │ └── KnapsackBottomUpWithRepitions.cpp ├── Knapsack │ ├── KnapsackDpBottomUp.c │ ├── KnapsackDpTopDown.c │ └── KnapsackRecursive.c ├── Longest Common subsequence │ ├── LongestCommonSubsequenceBottomUp.cpp │ └── LongestCommonSubsequenceTopDown.cpp ├── LongestIncreasingSubsequence.cpp ├── Matrix-Chain multiplication │ ├── MatrixChainOrderBottomUp.cpp │ └── MatrixChainOrderTopDown.cpp ├── MaximumValueContiguousSubsequence.cpp ├── Optimal Strategy for a Game │ └── OptimalStrategyForAGameBottomUp.cpp ├── Optimal binary search trees │ ├── OptimalBinarySearchTreeBottomUp.cpp │ └── OptimalBinarySearchTreeTopDown.cpp ├── RNA Secondary structure │ └── RNASecondaryStructureTopDown.cpp ├── RodCutting │ ├── RodCuttinBottomUp.c │ ├── RodCuttingRecursive.c │ └── RodCuttingTopDown.c └── SubsetSumProblem.cpp ├── 14.Backtracking ├── PowerSet.cpp ├── StringPermutations.cpp └── alphacode.cpp ├── 15.Segment Tree ├── RangeMinQuery.cpp └── RangeSumQuery.cpp ├── 16.Hash Map └── HashMap.java ├── 17. Substring Search ├── BruteForce.java └── KnuthMorrisPratt.java ├── 2.Doubly-Linked-list ├── DeleteNodeinDLL.c └── DoublyLinkedList.c ├── 3.Circular-Linked-List └── SortedInsertinCLL.c ├── 4.Stack └── StackLinkedList.c ├── 5.Queue ├── LinkedListAndQueue.c ├── PriorityQueue.c └── QueueAndArray.cpp ├── 6.Sorting ├── BubbleSort.c ├── HeapSort.c ├── InsertionSort.c ├── MergeSort.c ├── MergeSort.scala ├── QuickSort.c └── SelectionSort.c ├── 7.Binary-Search-Tree ├── BinarySearchTree.c ├── HeightBst.c ├── IsBinarySearchTree1.c ├── IsBinarySearchTree2.c └── MaxMinBst.c ├── 8.AVL-tree └── AVLTree.c ├── 9.Red-Black-tree └── RedBlackTrees.c └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/.gitignore -------------------------------------------------------------------------------- /1.Singly-Linked-list/AddTwoNumbersRepresentedByLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/AddTwoNumbersRepresentedByLinkedList.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/BubbleSortLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/BubbleSortLinkedList.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/LinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/LinkedList.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/MergeSortLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/MergeSortLinkedList.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/MergeSortedLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/MergeSortedLinkedList.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/ReverseASstringLinkedListStack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/ReverseASstringLinkedListStack.c -------------------------------------------------------------------------------- /1.Singly-Linked-list/rreverse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/1.Singly-Linked-list/rreverse.c -------------------------------------------------------------------------------- /10.Graphs/ FloydWarshallAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/ FloydWarshallAlgorithm.cpp -------------------------------------------------------------------------------- /10.Graphs/AStarSearchAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/AStarSearchAlgorithm.cpp -------------------------------------------------------------------------------- /10.Graphs/BellmanFord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/BellmanFord.cpp -------------------------------------------------------------------------------- /10.Graphs/BreadthFirstSearch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/BreadthFirstSearch.c -------------------------------------------------------------------------------- /10.Graphs/BreadthFirstSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/BreadthFirstSearch.cpp -------------------------------------------------------------------------------- /10.Graphs/CheckBipartiteUsingBFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/CheckBipartiteUsingBFS.cpp -------------------------------------------------------------------------------- /10.Graphs/DepthFirstSearch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DepthFirstSearch.c -------------------------------------------------------------------------------- /10.Graphs/DepthFirstSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DepthFirstSearch.cpp -------------------------------------------------------------------------------- /10.Graphs/DetectCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DetectCycle.cpp -------------------------------------------------------------------------------- /10.Graphs/DiameterUsingBFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DiameterUsingBFS.cpp -------------------------------------------------------------------------------- /10.Graphs/DijkstrasSSSP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DijkstrasSSSP.c -------------------------------------------------------------------------------- /10.Graphs/DijkstrasShortestPathAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/DijkstrasShortestPathAlgorithm.cpp -------------------------------------------------------------------------------- /10.Graphs/EulerianGraphs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/EulerianGraphs.cpp -------------------------------------------------------------------------------- /10.Graphs/Flow Networks/FordFulkerson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/Flow Networks/FordFulkerson.cpp -------------------------------------------------------------------------------- /10.Graphs/Graphs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/Graphs.c -------------------------------------------------------------------------------- /10.Graphs/KosarajuSCC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/KosarajuSCC.cpp -------------------------------------------------------------------------------- /10.Graphs/KosarajusSCC.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/KosarajusSCC.c -------------------------------------------------------------------------------- /10.Graphs/KruskalsMinimumSpanningTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/KruskalsMinimumSpanningTree.cpp -------------------------------------------------------------------------------- /10.Graphs/LongestPathInADirectedAcyclicGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/LongestPathInADirectedAcyclicGraph.cpp -------------------------------------------------------------------------------- /10.Graphs/MST_Kruskals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/MST_Kruskals.c -------------------------------------------------------------------------------- /10.Graphs/PrimsMinimumSpanningTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/PrimsMinimumSpanningTree.cpp -------------------------------------------------------------------------------- /10.Graphs/ShortestPathUsingBFS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/ShortestPathUsingBFS.cpp -------------------------------------------------------------------------------- /10.Graphs/TopologicalSorting.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/TopologicalSorting.c -------------------------------------------------------------------------------- /10.Graphs/TopologicalSorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/TopologicalSorting.cpp -------------------------------------------------------------------------------- /10.Graphs/TransposeAGraph.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/10.Graphs/TransposeAGraph.cpp -------------------------------------------------------------------------------- /11.Trie/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/11.Trie/Trie.cpp -------------------------------------------------------------------------------- /12.Greedy-Algorithms/ActivitySelectionProblem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/12.Greedy-Algorithms/ActivitySelectionProblem.c -------------------------------------------------------------------------------- /12.Greedy-Algorithms/DijkstrasSSSP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/12.Greedy-Algorithms/DijkstrasSSSP.c -------------------------------------------------------------------------------- /12.Greedy-Algorithms/HuffmanCoding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/12.Greedy-Algorithms/HuffmanCoding.c -------------------------------------------------------------------------------- /12.Greedy-Algorithms/MST_Kruskals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/12.Greedy-Algorithms/MST_Kruskals.c -------------------------------------------------------------------------------- /12.Greedy-Algorithms/MinimizeLateness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/12.Greedy-Algorithms/MinimizeLateness.c -------------------------------------------------------------------------------- /13.Dynamic-programming/BalancedPartition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/BalancedPartition.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Boolean Parenthesization Problem/BooleanParenthesizationProblemBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Boolean Parenthesization Problem/BooleanParenthesizationProblemBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/BoxStacking.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/BoxStacking.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/BuildingBridges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/BuildingBridges.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/CoinChangingProblem/CoinChangingProblemBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/CoinChangingProblem/CoinChangingProblemBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/CoinChangingProblem/CoinChangingProblemTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/CoinChangingProblem/CoinChangingProblemTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Edit Distance/EditDistanceBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Edit Distance/EditDistanceBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Edit Distance/EditDistanceTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Edit Distance/EditDistanceTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/FibonacciNumbers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/FibonacciNumbers.c -------------------------------------------------------------------------------- /13.Dynamic-programming/Knapsack problem with repititions/KnapsackBottomUpWithRepitions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Knapsack problem with repititions/KnapsackBottomUpWithRepitions.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Knapsack/KnapsackDpBottomUp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Knapsack/KnapsackDpBottomUp.c -------------------------------------------------------------------------------- /13.Dynamic-programming/Knapsack/KnapsackDpTopDown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Knapsack/KnapsackDpTopDown.c -------------------------------------------------------------------------------- /13.Dynamic-programming/Knapsack/KnapsackRecursive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Knapsack/KnapsackRecursive.c -------------------------------------------------------------------------------- /13.Dynamic-programming/Longest Common subsequence/LongestCommonSubsequenceBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Longest Common subsequence/LongestCommonSubsequenceBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Longest Common subsequence/LongestCommonSubsequenceTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Longest Common subsequence/LongestCommonSubsequenceTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/LongestIncreasingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/LongestIncreasingSubsequence.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Matrix-Chain multiplication/MatrixChainOrderBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Matrix-Chain multiplication/MatrixChainOrderBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Matrix-Chain multiplication/MatrixChainOrderTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Matrix-Chain multiplication/MatrixChainOrderTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/MaximumValueContiguousSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/MaximumValueContiguousSubsequence.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Optimal Strategy for a Game/OptimalStrategyForAGameBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Optimal Strategy for a Game/OptimalStrategyForAGameBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Optimal binary search trees/OptimalBinarySearchTreeBottomUp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Optimal binary search trees/OptimalBinarySearchTreeBottomUp.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/Optimal binary search trees/OptimalBinarySearchTreeTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/Optimal binary search trees/OptimalBinarySearchTreeTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/RNA Secondary structure/RNASecondaryStructureTopDown.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/RNA Secondary structure/RNASecondaryStructureTopDown.cpp -------------------------------------------------------------------------------- /13.Dynamic-programming/RodCutting/RodCuttinBottomUp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/RodCutting/RodCuttinBottomUp.c -------------------------------------------------------------------------------- /13.Dynamic-programming/RodCutting/RodCuttingRecursive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/RodCutting/RodCuttingRecursive.c -------------------------------------------------------------------------------- /13.Dynamic-programming/RodCutting/RodCuttingTopDown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/RodCutting/RodCuttingTopDown.c -------------------------------------------------------------------------------- /13.Dynamic-programming/SubsetSumProblem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/13.Dynamic-programming/SubsetSumProblem.cpp -------------------------------------------------------------------------------- /14.Backtracking/PowerSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/14.Backtracking/PowerSet.cpp -------------------------------------------------------------------------------- /14.Backtracking/StringPermutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/14.Backtracking/StringPermutations.cpp -------------------------------------------------------------------------------- /14.Backtracking/alphacode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/14.Backtracking/alphacode.cpp -------------------------------------------------------------------------------- /15.Segment Tree/RangeMinQuery.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/15.Segment Tree/RangeMinQuery.cpp -------------------------------------------------------------------------------- /15.Segment Tree/RangeSumQuery.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/15.Segment Tree/RangeSumQuery.cpp -------------------------------------------------------------------------------- /16.Hash Map/HashMap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/16.Hash Map/HashMap.java -------------------------------------------------------------------------------- /17. Substring Search/BruteForce.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/17. Substring Search/BruteForce.java -------------------------------------------------------------------------------- /17. Substring Search/KnuthMorrisPratt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/17. Substring Search/KnuthMorrisPratt.java -------------------------------------------------------------------------------- /2.Doubly-Linked-list/DeleteNodeinDLL.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/2.Doubly-Linked-list/DeleteNodeinDLL.c -------------------------------------------------------------------------------- /2.Doubly-Linked-list/DoublyLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/2.Doubly-Linked-list/DoublyLinkedList.c -------------------------------------------------------------------------------- /3.Circular-Linked-List/SortedInsertinCLL.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/3.Circular-Linked-List/SortedInsertinCLL.c -------------------------------------------------------------------------------- /4.Stack/StackLinkedList.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/4.Stack/StackLinkedList.c -------------------------------------------------------------------------------- /5.Queue/LinkedListAndQueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/5.Queue/LinkedListAndQueue.c -------------------------------------------------------------------------------- /5.Queue/PriorityQueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/5.Queue/PriorityQueue.c -------------------------------------------------------------------------------- /5.Queue/QueueAndArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/5.Queue/QueueAndArray.cpp -------------------------------------------------------------------------------- /6.Sorting/BubbleSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/BubbleSort.c -------------------------------------------------------------------------------- /6.Sorting/HeapSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/HeapSort.c -------------------------------------------------------------------------------- /6.Sorting/InsertionSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/InsertionSort.c -------------------------------------------------------------------------------- /6.Sorting/MergeSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/MergeSort.c -------------------------------------------------------------------------------- /6.Sorting/MergeSort.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/MergeSort.scala -------------------------------------------------------------------------------- /6.Sorting/QuickSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/QuickSort.c -------------------------------------------------------------------------------- /6.Sorting/SelectionSort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/6.Sorting/SelectionSort.c -------------------------------------------------------------------------------- /7.Binary-Search-Tree/BinarySearchTree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/7.Binary-Search-Tree/BinarySearchTree.c -------------------------------------------------------------------------------- /7.Binary-Search-Tree/HeightBst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/7.Binary-Search-Tree/HeightBst.c -------------------------------------------------------------------------------- /7.Binary-Search-Tree/IsBinarySearchTree1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/7.Binary-Search-Tree/IsBinarySearchTree1.c -------------------------------------------------------------------------------- /7.Binary-Search-Tree/IsBinarySearchTree2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/7.Binary-Search-Tree/IsBinarySearchTree2.c -------------------------------------------------------------------------------- /7.Binary-Search-Tree/MaxMinBst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/7.Binary-Search-Tree/MaxMinBst.c -------------------------------------------------------------------------------- /8.AVL-tree/AVLTree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/8.AVL-tree/AVLTree.c -------------------------------------------------------------------------------- /9.Red-Black-tree/RedBlackTrees.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/9.Red-Black-tree/RedBlackTrees.c -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amitbansal7/Data-Structures-and-Algorithms/HEAD/README.md --------------------------------------------------------------------------------