Problem 486 · Medium

Predict the Winner

Determine if player 1 can win a game where players take turns picking numbers from array ends.

Open the interactive visualisation