You are given two positive integers x and y, representing the number of coins of value
Alice and Bob play a game where Alice takes the first turn. In each turn, a player must pick a combination of coins that sums to a value of
The player who cannot make a valid move on their turn loses the game.
Assuming both players play optimally, return the name of the winning player, either "Alice" or "Bob".
Constraints:
x, y
You are given two positive integers x and y, representing the number of coins of value
Alice and Bob play a game where Alice takes the first turn. In each turn, a player must pick a combination of coins that sums to a value of
The player who cannot make a valid move on their turn loses the game.
Assuming both players play optimally, return the name of the winning player, either "Alice" or "Bob".
Constraints:
x, y