Single-Integer Bits
Every problem here works on a single integer's bits - flipping them, counting them, or testing their structure. The recurring identities are n & (n - 1) (clear the lowest set bit) and n & -n (isolate it); see Bit Manipulation for the building blocks.
Complement
Flipping every bit of a number within its own width is the negate-bits trick - XOR with an all-ones mask, or rebuild the number bit by bit.
476. Number Complement
1009. Complement of Base 10 Integer
Counting Set Bits
Almost every problem here reduces to the same primitive - count the set bits of an integer. Hamming weight counts the 1s in one number; Hamming distance XORs two numbers first; reversing mirrors the bit order; and the array problems use a set-bit count as a key or filter.
191. Number of 1 Bits
2595. Number of Even and Odd Bits
461. Hamming Distance
2220. Minimum Bit Flips to Convert Number
1318. Minimum Flips to Make a OR b Equal to c
190. Reverse Bits
2859. Sum of Values at Indices With K Set Bits
1356. Sort Integers by The Number of 1 Bits
2657. Find the Prefix Common Array of Two Arrays
2997. Minimum Number of Operations to Make Array XOR Equal to K
Powers & Properties
These test or exploit a number's structural bit properties: powers of two/four have exactly one set bit (n & (n - 1) == 0); other problems scan the bits LSB-to-MSB or reason about how bits behave across a whole range of values.