The Celebrity Problem.
The first implementation with a queue.