Sorting & Searching
Comparison and linear-time sorts, library sorts, binary search, and selection.
0 / 12 solved
-
Comparison Sorts & The n log n Bound
Merge sort, quicksort, heapsort, and insertion sort compared, the n log n lower bound, and introsort.
-
Counting, Radix & Bucket Sort
Counting sort and its stability, LSD radix sort, bucket sort, and the space they cost.
-
Sort Keys, Stability & Library Sorts
Timsort, introsort, comparator contracts, stability, and sorting by tuple keys.
-
Binary Search & Boundary Conditions
Loop invariants, half-open vs closed intervals, lower_bound and upper_bound, and off-by-one proofs.
-
Quickselect & Order Statistics
Quickselect, median of medians, heaps for top-K, and streaming selection.
Up next
12 of 12 questions here are still unsolved.