Amazon Flex interview question

How do you find the smallest integer not present in an unsorted array.