Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Majority Element II
Bookmark
Input
Input 1
Input 2
No Majority
Custom
nums
=
[3, 2, 3]
3
2
3
0
1
2
cand1
0
count1
0
cand2
0
count2
0
algo
master
.
io
Step:
Start: Find all elements appearing more than n/3 times
0 / 17
Input
Input 1
Input 2
No Majority
Custom
nums
=
[3, 2, 3]
0 / 17
3
2
3
0
1
2
cand1
0
count1
0
cand2
0
count2
0
algo
master
.
io
Step:
Start: Find all elements appearing more than n/3 times