Arista Networks interview question

Find the missing integer in an ascending array of integers.