Tagged in

Ruby

Carwow Product, Design & Engineering
Carwow Product, Design & Engineering
What happens under the hood at carwow.co.uk
More information
Followers
508
Elsewhere
More, on Medium

The Josephus Problem

…is a famous puzzle in computer science and mathematics, related to a certain counting-out game.

From Wikipedia:

People are standing in a circle waiting to be executed. Counting begins at a specified point in the circle and proceeds around…