Problem 3175 · Medium

Find The First Player to win K Games in a Row

Run a queue of players where the winner stays at the front, and stop when one reaches k wins in a row.

Open the interactive visualisation