Data Structures & Algorithms in Java. Information about the algorithm & paradigm to solve it in code comments along with the code for easy understanding.
- Breadth-First-Search in Graph (graphs/BFSGraph.java)
- Binary Tree Traversal: Level-Order-Traversal using recursion (trees/BinaryTreeBFSRec.java)
- Binary Search Tree: Insertion and Deletion of nodes (trees/BSTInsertDelete)
- Depth First Search Iterative (gaphs/DFSIterative.java)
- Depth First Search Recursive (graphs/DFSRecursion.java)
- Knuth-Morris-Pratt String Search (strings/KMP.java)
- Merge Sort (sort/MergeSort.java)
- Heap Sort (sort/HeapSort.java)
- Minimum Edit Distance (dynamic/MinEditDist.java)
- Topological Sort (sort/TopologicalSort.java)
- Print Ancestor Node in Binary Tree (trees/PrintAncestorNodesBT.java)
- Generic Graph Implementation (graphs/Graph.java)
- Reverse Single LinkedList (linkedlists/ReverseLinkedList.java)
- Reverse Double LinkedList (linkedlists/ReverseDoubleLinkedList.java)