Given an array containing n distinct numbers taken from the range 0 to n, find the one number in that range that's missing from the array.
Example 1
Explanation: n = 3, so the full range is [0,1,2,3]; only 2 is missing from the array.
Example 2
Example 3
Code execution is coming soon.