Bit Manipulation - Find the Missing Number
Consider the following code to find the missing number in an array containing numbers from 0 to n with one missing. What is the value of
xor_all just before the return statement when the input is [3, 0, 1]?