AlgoMaster Logo

Single Number II

nums=[2, 2, 3, 2]
0 / 14
01232232
algomaster.io
Step:Every number appears three times except one. Track bits seen once in ones and twice in twos: a third sighting erases the bit from both