Showing Posts From
Techniques
- 25 Jul, 2025
Two Pointers Algorithm - Intuition & Patterns
Week 0 notes on the two pointers technique: the 'squeeze' idea that kills a lot of nested loops, the two movement styles, and when to actually use it.
- 23 Jul, 2025
Sliding Window Algorithm - Fixed & Variable Length
Week 0 notes on the sliding window: when to use it, fixed vs variable windows, and how it turns a lot of subarray and substring problems from O(n^2) into O(n).