Difficulty: Easy
Time Limit: 10 minutes
Find the smallest positive integer that does not occur in a given sequence.
A non-empty array A consisting of N-1
integers is given. Find the smallest positive integer (greater than 0) that does not occur in A (A[i] > 0)
.