I find the first player would win if he or she choose 7 at the first time when maxChooseableInteger is 10 and desiredTotal is 40. But the system shows error when I submit, and returns false. Is that wrong?
@heimuya You chose 7, I choose 2. We're at 9 now. Your next move?
@QQBear I choose 2 with you as well.
@QQBear I choose 1, so we have: 10+2+3+1 = 16
@QQBear 10+2+3+1+4+5 = 25
@StefanPochmann I will choose 9, and the total becomes 18, and whatever you choose, the next total will be 29, an then 40 or more. Is that right?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.