1025. Divisor Game
Input: 2
Output: true
Explanation: Alice chooses 1, and Bob has no more moves.Input: 3
Output: false
Explanation: Alice chooses 1, Bob chooses 1, and Alice has no more moves.// Math
bool divisorGame(int N) {
return N % 2 == 0;
}Last updated