Bloomberg Interview Question

Iterating through an array to find a missing number