You are given an array with integers between 1 and 1,000,000. One integer is in the array twice. How can you determine which one? Can you think of a way to do it using littl
def singleton(array): return reduce(lambda x,y:x^y, array)