Koko eating bananas
There's no sorted array here: we search the possible speeds themselves. If Koko finishes at some speed she finishes at every faster one, so the checks go false, …, true, and the same Range finds the slowest speed that works.
speed is the answer space: every speed k in bananas an hour. Under piles are the bananas in each pile and the hours it takes at this speed.