Microsoft interview question

given an array, return the smallest natural number that is not in the array