Pregunta de entrevista de Rakuten

Find the only missing number in a sorted array.