The Find the Winning Player in Coin Game interview question is a game theory problem with constraints. You have a pile of coins with values 75 and 10. In each turn, a player must pick coins that sum up to exactly 115. Usually, this means picking one 75-coin and four 10-coins. Two players take turns, and the one who cannot make a move loses. You need to determine who wins (Alice or Bob).
Bloomberg asks the Find the Winning Player coding problem to test a candidate's ability to simplify a game into a parity check. It evaluations whether you can identify the "limiting factor" in a resource-based game. It’s an introductory Math interview pattern that checks for logical deduction and simple simulation.
This problem follows the Game Theory and Limiting Resource pattern.
min(count75, count10 / 4)..
min(2, 7/4) = min(2, 1) = 1. 1 is odd, so Alice wins.min calculation.Whenever a game has fixed resource costs, the total number of turns is fixed regardless of player strategy. In such "impartial games," the outcome is simply a matter of turn count parity. This is a common Game Theory interview pattern shortcut.