TP Vision Interview Question

Find the missing number in sorted array