30:00
Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array.
n==nums.lengthn == \text{nums.length}n==nums.length
1≤n≤1041 \leq n \leq 10^41≤n≤104
0≤nums[i]≤n0 \leq \text{nums}[i] \leq n0≤nums[i]≤n
All values in nums are unique.
nums
Find missing number in range [0, 3] using XOR
XOR indices