Skip to content

Conversation

@us25999
Copy link

@us25999 us25999 commented Oct 31, 2021

Cpp code to find the index of the majority element, if present in the array. Majority element is the element which appears more than (n/2) times in an array, where n is the size of the array.

Cpp code to find the index of the majority element, if present in the array. Majority element is the element which appears more than (n/2) times in an array, where n is the size of the array.
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.

1 participant