def singleNumber(self, A):
        storage = 0
        for element in A:
            storage ^= element # XOR

        return storage
Cannot use hash table since extra memory
dataset/ETHPy150Open algorhythms/LeetCode/136 Single Number.py/Solution.singleNumber