Mental Model
XORing a number with itself cancels it out, leaving only the unique number.
Analogy: Imagine you have pairs of socks in a drawer. If you remove pairs one by one, only the single unmatched sock remains.
Array: [2, 3, 2, 4, 3] XOR steps: 0 ⊕ 2 -> 2 2 ⊕ 3 -> 1 1 ⊕ 2 -> 3 3 ⊕ 4 -> 7 7 ⊕ 3 -> 4
