Solutions for Missing Element

    • @MatthewIdete
    • @alexander, submitted in Python 3, achived 100% score
    def solve(a):
        A=sorted(a)
        print(A)
        n = len(A)
        total = (n + 1)*(n + 2)/2
        sum_of_A = sum(A)
        tot=total - sum_of_A
        return int(tot)