Heaps and Greedy
Focus on local optimizations, interval processing, and frequency-based selection problems.
1.0 Priority Queue Essentials
- Min-heap / Max-heap basics
- Custom comparators
- Heapify and streaming
2.0 Top-K Patterns
- K largest/smallest elements
- K frequent elements
- K closest points/numbers
3.0 Greedy Interval Scheduling
- Activity selection
- Meeting rooms
- Merge intervals
4.0 Greedy with Sorting and Decision Making
- Task scheduling
- Gas station / jump game
- Minimum platforms
5.0 Greedy Proof Techniques
- Exchange argument
- Staying ahead
- Greedy-choice property