Skip to content

Conversation

@0xsatoshi99
Copy link

Implements Boyer-Moore Majority Vote algorithm for finding majority elements in O(n) time and O(1) space.

Includes 10 test cases covering edge cases and various scenarios.

Contribution by Gittensor, learn more at https://gittensor.io/

@0xsatoshi99 0xsatoshi99 requested a review from siriak as a code owner November 6, 2025 00:52
@0xsatoshi99 0xsatoshi99 force-pushed the add-boyer-moore-majority-vote branch from 90953e6 to 2d98762 Compare November 6, 2025 00:55
@0xsatoshi99
Copy link
Author

@siriak , I've made one algorithm and made PR for review, please check and let me know if you have any feedback, Thanks.

@siriak
Copy link
Member

siriak commented Nov 6, 2025

Please fix the issues Codacy found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants