Bloomberg interview question

Iterating through an array to find a missing number