Bit manipulation tricks that collapse hard problems to a single line — XOR for finding the odd one out, n & (n-1) to strip a set bit, bitmasks for subset enumeration, and the bitwise ops every interview expects you to know cold.
#bit-manipulation#math#tricks
13 min