Arista Networks Interview Question

Round 1 (easy technical): Find a missing number in sorted [1..n] array