12/34
Part 3 of 7 · MergingLearn and do

One binary search finds both neighbours

The free list is sorted by start, so you don't have to walk it to find the neighbors.

Predict

The free list is [(0, 4), (8, 12), (20, 30)], and the block (4, 8) is freed. bisect finds position i = 1. Which runs can it touch?

Pick an answer above to see the rest