Sorting
Comparison sorts, merge sort, quicksort, and heap sort.
Foundation
Learn the invariant, apply it independently, then pass the Sorting checkpoint.
- 3Sum (Medium)
Sorting algorithms
Reorder a sequence and watch the invariants build.
- Bubble Sort (Easy)
- Selection Sort (Easy)
- Insertion Sort (Easy)
- Merge Sort (Medium)
- Quick Sort (Medium)
- Heap Sort (Medium)
Checkpoint
A graded check of the core Sorting reasoning skills.
Pattern Quest
Practice recognizing sorting problem shapes.
Sorting
Practice comparison invariants, partitioning, merging, heap order, custom tie-breakers, and sort-then-scan reductions that expose useful structure.