Flipkart Interview Question

Smallest missing number in an array.