Mental Model
Find the element that appears more than half the time by canceling out different elements.
Analogy: Imagine a room where people vote for their favorite color. Every time two people with different colors meet, they leave the room together. The color left at the end is the majority color.
Array: [2, 2, 1, 1, 1, 2, 2] Index: 0 1 2 3 4 5 6 Candidate: 2 ↑ Count: 1
