Problem 1823 · Medium

Find the Winner of the Circular Game

Find the final player after repeatedly eliminating every kth player in a circle.

Open the interactive visualisation