Two answers. Twenty four orders.
transcript
Four photos. You can rank them in twenty four ways. A comparison tells you one thing. Which of two photos is stronger? How few comparisons can possibly work?
A comparison has two answers. Photo a is stronger, or photo b is. So one comparison splits the orders in two. It can never split them in three.
One comparison gives two endings. Two comparisons give four. Each one doubles the endings. Four comparisons give sixteen.
Four photos have twenty four orders. Sixteen endings cannot cover them. Two orders would share an ending. The method would be wrong for one of them.
Thirty two endings are enough. So four photos need five comparisons. Comparing every pair uses six. A smarter method uses five.
The same rule works for a thousand photos. The floor is eight thousand five hundred thirty. Comparing every pair needs almost five hundred thousand. The floor grows like n log n.
Two to the k must reach the number of orders. Full breakdown in the lecture.