Step-by-step visualizer for the Urinal Problem
Guests pick the urinal that maximizes distance from others
Chosen position = midpoint of the longest empty gap
Ties break toward the entrance (lowest index)
When full, guests queue (FIFO) for the next free urinal