Chalkboard XOR Game
Alice and Bob take turns erasing exactly one number from an array, with Alice first. A player who starts a turn when the XOR of all remaining numbers is 0 wins immediately. Otherwise, if erasing a number makes the remaining XOR 0, that player loses. The XOR of an empty array is 0. Determine whether Alice wins with optimal play.