The Topics and Algorithms covered in this repository are as follows, followed by the link to GeekforGeeks reference in the brackets:
-
Sorting Algorithms
-
Trees
- Basic operations (Insert, delete) (link)
- BFS (in-order, pre-order, post-order) (link)
- DFS (Level order) (link)
- Left view (link)
- Right view (link)
- Top view (link)
- Bottom view (link)
- Bottom-Right view (link)
- Boundary leaves traversal (link)
- Zig-zak traversal (link)
- Spiral traversal (link)
- Check if Sum tree(link)
- Check if Binary Search Tree (link
- Nodes at distance K, distance between nodes (link)
- Lowest common ancestor(LCS) in BST and Btree (link)
- Is symmetric or mirror tree(link)
- Tree from in-order and pre-order (link)
- Tree from in-order and post-order(link)
- BST to DLL (link)
- Btree to DLL (link)
-
Linked Lists
- Singly Linked List
- Basic operations(Insert, delete, middle) (link)
- Reverse, K-nodes reverse (Iterative, recursive) (link)
- Incremental K-node reverse
- Check LL is palindrome (link)
- Dutch national flag problem(separate 0's, 1's, 2's) (link)
- Add two number represented in linked lists (link)
- Merge sort on SLL (link)
- Detect and remove loop in linked list (link)
- Decimal equivalent of binary linked list (link)
- Doubly Linked List
- Circular Linked List
- Basic operations(Insert, delete, traverse) (link)
- Middle of CLL
- Reverse CLL
- Merge-sort on CLL
- Singly Linked List
-
Heaps
-
Stacks & queues
- Rotten tomatoes problem (link)
- Check for balanced parenthesis (link)
- Next greater element in the array (link)
- Next smaller element in the array (link)
- Implementing K queues in one array (link)
- Implementing K stacks in one array (link)
- Minimum bracket reversal to balance expression (link)
- Implement two stacks in one array (link)
-
Matrix
-
Arrays
-
Strings
-
Tries
- Basic operations (Insert, Search, Display all) (link)