There are many numbers in an array and each number appears three times excepting for one special number appearing once. Here is the question: how can I find the special numb
I got a solution. It's O (n) time and O (1) space.
n=list(map(int,input().split())) l=[0]*64 for x in n: b=bin(x)[2:] b='0'*(64-len(b))+b i=0 while i