Implement a function that given a list of natural numbers, returns the lowest number not present in the list.
0 <= list size <= 2^16
len(unique(list)) = len(list)
minFree of 1, 2, 3, 4, 5 returns 6
minFree of an empty list returns 1
minFree of 10, 5, 9, 2, 24, 3, 1 returns 4
cenas = cenas
For
0 <= list size <= 2^16
:Julia (41 chars)
Julia untyped (31 chars)
For
0 <= list size <= 2e16
:Julia (56 chars)
Julia untyped (41 chars)