Amazon Interview Question

Find the missing number in the array