Codility: PermMissingElem

*Time Complexity*: O(N)
*Space Complexity*: O(N)
def solution(A):
    a = set(A)
    for x in range(1, len(A) + 1):
        if x not in a:
            return x
            
    return len(A) + 1