Pregunta de entrevista de Arista Networks

find the missing number in a consecutive array