That, given an array a of n integers, returns the smallest positive integer (greater than 0) that does not occur in a. for example, given a = [1, 3, 6, 4, 1, 2], the function should return 5.



Answer :