Pregunta de entrevista de DXC Technology

Find missing element in a sorted array of consecutive numbers