Given an array containing n distinct numbers from range 0 to n, find the missing number.
nums = array of distinct integers from 0 to n
The missing integer from range 0 to n
Example 1:
Input:
nums = [3,0,1]
Output:
2
Explanation:
Numbers from 0 to 3 are present except 2.