Problem 169 · Easy

Majority Element

Find element appearing more than n/2 times using Boyer-Moore voting.

Open the interactive visualisation