Question d’entretien chez Flipkart

Smallest missing number in an array.