Amazon interview question

Find the missing number in the array