LeetCode
Problem notes and reusable patterns from LeetCode practice.
Topics
- Two pointers, sliding window, and prefix sums
- Graph traversal: BFS, DFS, and union-find
- Dynamic programming patterns
- Binary search on the answer
- Heap and greedy strategies
Template
- Pattern
- Constraints
- First wrong intuition
- Correct approach
- Complexity
- Similar problems