TP Vision interview question

Find the missing number in sorted array