Rakuten Interview Question

Find the only missing number in a sorted array.