BlackRock interview question

Write a program to find missing number from an array