Arista Networks Interview Question

Find missing in an ordered array