Mental Model
Bit manipulation uses the tiny switches inside numbers to do math faster and simpler. It works directly on the 0s and 1s that computers use.
Analogy: Imagine a row of light switches representing a number. Instead of counting steps to add or subtract, you flip certain switches on or off to get the answer instantly.
Number: 13 Binary: 1 1 0 1 Switches: ON ON OFF ON Each switch controls a power of two: 8 -> 4 -> 2 -> 1 Flipping switches changes the number quickly.
