At Stripe, a service emits every integer from 0 to n exactly once, but one value is missing from the final array. Given an array nums containing n distinct integers in the range [0, n], return the missing number.
nums[0, n]len(nums) = nnums are distinct[0, n]def missing_number(nums):