AlgoMaster Logo

Majority Element II

nums=[3, 2, 3]
0 / 17
323Candidate 10Count 10Candidate 20Count 20
algomaster.io
Step:Start: Find all elements appearing more than n/3 times