Heaps

Priority queues, heap operations, and top-K.

Operations

Insert (sift-up) and extract (sift-down).

Checkpoint

A graded check on heap invariants, repair operations, and top-k.

Pattern Quest

Practice recognizing heaps problem shapes.