A collection of LeetCode solutions organized by Neetcode-style algorithm patterns for systematic interview preparation.
| Category | Solved | Problems |
|---|---|---|
| 01. Arrays & Hashing | 1 | 128 |
| 02. Two Pointers | 1 | 11 |
| 03. Sliding Window | 1 | 643 |
| 04. Stack | 3 | 155, 394, 2390 |
| 05. Binary Search | 3 | 35, 74, 162 |
| 06. Linked List | 0 | - |
| 07. Trees | 2 | 94, 104 |
| 08. Tries | 1 | 1268 |
| 09. Heap / Priority Queue | 2 | 215, 347 |
| 10. Backtracking | 3 | 17, 22, 39 |
| 11. Graphs | 3 | 200, 529, 994 |
| 12. Dynamic Programming | 3 | 5, 152, 322 |
| 13. Greedy | 1 | 121 |
| 14. Intervals | 0 | - |
| 15. Math & Geometry | 0 | - |
| 16. Bit Manipulation | 0 | - |
Total: 24 problems solved
Each problem is a standalone Go program:
# Run a specific solution
go run ./12-dynamic-programming/322.coin-change/main.go
# Build all solutions
go build ./...- Arrays & Hashing: 1. Two Sum, 49. Group Anagrams, 238. Product of Array Except Self
- Two Pointers: 15. 3Sum, 125. Valid Palindrome, 42. Trapping Rain Water
- Linked List: 206. Reverse Linked List, 21. Merge Two Sorted Lists, 141. Linked List Cycle
- Trees: 226. Invert Binary Tree, 102. Level Order Traversal, 98. Validate BST
- Graphs: 133. Clone Graph, 207. Course Schedule, 417. Pacific Atlantic Water Flow
- DP: 70. Climbing Stairs, 198. House Robber, 1143. Longest Common Subsequence
- Intervals: 56. Merge Intervals, 57. Insert Interval
- Math & Geometry: 48. Rotate Image, 54. Spiral Matrix
- Bit Manipulation: 191. Number of 1 Bits, 338. Counting Bits
Algorithm reference implementations are in the _algorithms/ directory:
For systematic preparation, tackle categories in order:
- Arrays & Hashing → Two Pointers → Sliding Window (foundation)
- Stack → Binary Search (core techniques)
- Linked List → Trees → Tries (data structures)
- Heap → Backtracking → Graphs (advanced traversal)
- Dynamic Programming → Greedy (optimization)
- Intervals → Math → Bit Manipulation (specialized)