Problem 1700 · Easy

Number of Students Unable to Eat Lunch

Count the students who cannot eat because the sandwich at the top of the queue is never one they want. The visual shows a queue rotating until no student matches the top sandwich.

Open the interactive visualisation