Flipkart interview question

Smallest missing number in an array.