Coin Game
A and B play a coin game. You are given a row of n coins, where n is even and every coin has a positive integer value. A moves first. On each turn, a player takes exactly one coin from either the ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
