Pergunta de entrevista da empresa Arista Networks

Find the missing integer in an ascending array of integers.