leetle
4. Missing Number
Write a function solve that finds the missing number in a list of numbers from 0 to n. The list is missing one number.
Example: Input: [3,0,1] Output: 2
Make sure you return your solution, don't print!
def solve(nums):
pass