Boyer-Moore ·
Majority Vote
un
seel
.com · one pass · O(1) space · candidate + counter
candidate
—
counter
0
index
0
op
—
value A tokens
value B tokens
scan cursor / decrement
match / increment
▶ Play
←
→
🔇 Unmute
Reset
Un
seel
.com · Majority Vote