Microsoft Interview Question

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