codeIIEST / Algorithms

A Repository to store implementation of some of the famous Data Structures and Algorithms (mainly in C/C++/Java/Python) for everyone to learn and contribute.
http://codeiiest.github.io/Algorithms/
MIT License
202 stars 161 forks source link

I want to add Boyer-Moore Majority Voting Algorithm #291

Open bose-aritra2003 opened 2 years ago

bose-aritra2003 commented 2 years ago

DESCRIPTION

The Boyer-Moore voting algorithm is one of the popular optimal algorithms which is used to find the majority element among the given elements that have more than N/ 2 occurrences.