All challenges
beginnerData Structures & Algorithms~50 min

Bit Manipulation

Master the bit tricks that power flags, bitsets, hashing, and low-level optimization. You will count set bits with Brian Kernighan's trick, detect powers of two, find a lone number with XOR, manipulate individual bits, and enumerate subsets with bitmasks.