Mental Model
Each subset can be represented by a series of on/off switches, where each switch decides if an element is included or not.
Analogy: Imagine you have a row of light switches, each controlling a lamp. Turning a switch on means including that lamp in the room's lighting; off means excluding it. Every combination of on/off switches creates a unique lighting setup, just like every combination of elements creates a unique subset.
Set: [a, b, c] Bitmask positions: 2 1 0 Example bitmask: 101 Meaning: include a (bit 2), exclude b (bit 1), include c (bit 0)
