Game of Nim
Given piles of stones, two players take turns removing any positive number of stones from a single pile. The player who takes the last stone wins. Determine if the first player can force a win.
Given piles of stones, two players take turns removing any positive number of stones from a single pile. The player who takes the last stone wins. Determine if the first player can force a win.