Skip to content

chintan-shah-25/Boyer-Moore-Majority-Voting-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Boyer-Moore-Majority-Voting-algo

Find majority element in an array in linear time i.e O(n)

Say we have list of values and we want to find out if there is any majority element i.e is there any element that apperas more than half of the times.

About

Find majority element in an array in linear time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published