HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof ⚡
MIT License
875 stars 1.05k forks source link

Moore_Voting_Algorithm.cpp #7550

Closed anonymous372 closed 2 years ago

anonymous372 commented 3 years ago

Have you read the Contributing Guidelines on Pull Requests?

Yes

Description

It's the algorithm to find a majority in an array if it exixsts.

Checklist

Related Issues or Pull Requests

(Write your answer here.)

gat786 commented 2 years ago

image Please fill in this information in your pr. So that maintainers can have idea about what you are trying to add to the repo.

github-actions[bot] commented 2 years ago

Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Discord or ping one of the reviewers. Thank you for your contributions!