Comprehensive archive of solved coding interview problems mapped across standard LeetCode tags and high-yield DSA patterns.
- Hashing — HashMap / HashSet, frequency counting, complement lookups
- Two Pointers
- Sliding Window
- Prefix Sum / Prefix XOR
- Binary Search — including Binary Search on Answer
- Fast & Slow Pointers — Linked List cycle detection & midpoint
- Stack / Monotonic Stack
- Queue / Monotonic Queue
- Heap / Priority Queue — Top-K elements, Kth largest/smallest
- Intervals — Sort + Merge, Line Sweep
- Recursion / Divide & Conquer
- Backtracking — Subsets, Permutations, Combinations
- Tree DFS / BFS
- BST Patterns
- Trie
- Graph DFS / BFS
- Topological Sort — Kahn's Algorithm, DFS
- Union-Find / Disjoint Set Union (DSU)
- Shortest Path — BFS, Dijkstra, Bellman-Ford
- Minimum Spanning Tree (MST) — Prim's, Kruskal's
- Greedy Algorithms
- Dynamic Programming — 1D, 2D, Knapsack, LIS, String, Tree, Bitmask
- Bit Manipulation
- Cyclic Sort
- Matrix / Grid Traversal
- Fenwick Tree (Binary Indexed Tree)
- Segment Tree
- Meet in the Middle
- Bitmask / State Compression
- Advanced Graph & Tree — SCC, Bridges, LCA, Binary Lifting
| Problem |
|---|
| 0033-search-in-rotated-sorted-array |
| Problem |
|---|
| 0029-divide-two-integers |
| Problem |
|---|
| 0104-maximum-depth-of-binary-tree |
| 0116-populating-next-right-pointers-in-each-node |
| 0117-populating-next-right-pointers-in-each-node-ii |
| Problem |
|---|
| 1114-print-in-order |
| 1115-print-foobar-alternately |
| 1116-print-zero-even-odd |
| 1117-building-h2o |
| Problem |
|---|
| 2029-stone-game-ix |
| Problem |
|---|
| 0173-binary-search-tree-iterator |
| Problem |
|---|
| 0486-predict-the-winner |
| Problem |
|---|
| 0486-predict-the-winner |
| 2029-stone-game-ix |
| Problem |
|---|
| 0011-container-with-most-water |
| 2029-stone-game-ix |
| Problem |
|---|
| 0001-two-sum |
| 0105-construct-binary-tree-from-preorder-and-inorder-traversal |
| 0106-construct-binary-tree-from-inorder-and-postorder-traversal |
| Problem |
|---|
| 0173-binary-search-tree-iterator |
| Problem |
|---|
| 0029-divide-two-integers |
| 0486-predict-the-winner |
| 2029-stone-game-ix |
| Problem |
|---|
| 0486-predict-the-winner |
| 2029-stone-game-ix |
| Problem |
|---|
| 1019-next-greater-node-in-linked-list |
| Problem |
|---|
| 2029-stone-game-ix |
| Problem |
|---|
| 0203-remove-linked-list-elements |
| 0206-reverse-linked-list |
| 0486-predict-the-winner |
| Problem |
|---|
| 0015-3sum |
| 0016-3sum-closest |
| 0018-4sum |
| Problem |
|---|
| 0173-binary-search-tree-iterator |
| 1019-next-greater-node-in-linked-list |
| Problem |
|---|
| 0011-container-with-most-water |
| 0015-3sum |
| 0016-3sum-closest |
| 0018-4sum |
| 0086-partition-list |
| Problem |
|---|
| 0109-convert-sorted-list-to-binary-search-tree |
| 0180-consecutive-numbers |
| 0501-find-mode-in-binary-search-tree |
| Problem |
|---|
| 0486-predict-the-winner |
| 2029-stone-game-ix |