1 article
Bit manipulation tricks that collapse hard problems to one line: XOR for the odd one out, n & (n-1) to strip set bits, bitmasks for subset enumeration.