← All brainteasers

Logic · Medium

The Josephus Problem

100 people stand in a circle, numbered 1 to 100 in order, with 100 next to 1. Person 1 holds a ball. Whoever holds the ball knocks out the next person still in the circle, going up in number, and passes the ball to the person after them. This repeats until one person is left. What is that person's number?

Sign in free to check your answer

This puzzle is free. Your progress is saved to your account.

Were you asked this in an interview?

Sign in and tell us where. Reports from candidates show which puzzles firms really ask.