Checkpoint8 min

Heap Checkpoint

Min vs max heap choice, size-k maintenance, two-heap balancing, and quickselect trade-offs.

Question 1 of 7

A heap is stored flat in a 0-indexed array. Where do the children of the node at index i live?