Loading page…
Three problems where you write the heap yourself, on one array. The move is to sift down from the last parent to the first. The lecture covers the order and cost of the build, sorting in place, and a heap of k plus one for a nearly sorted stream.
Three problems sit on this street.