Alice and Bob play a game with an integer array nums written on a chalkboard. Alice takes the first turn.
On each turn, a player selects and removes one element from nums. If removing that element causes the bitwise XOR of all remaining numbers on the chalkboard to become
Additionally, if the bitwise XOR of all elements currently on the chalkboard is already
Assuming both players play optimally, return true if Alice wins the game, or false otherwise.
Constraints:
nums.length
nums[i]
Alice and Bob play a game with an integer array nums written on a chalkboard. Alice takes the first turn.
On each turn, a player selects and removes one element from nums. If removing that element causes the bitwise XOR of all remaining numbers on the chalkboard to become
Additionally, if the bitwise XOR of all elements currently on the chalkboard is already
Assuming both players play optimally, return true if Alice wins the game, or false otherwise.
Constraints:
nums.length
nums[i]