Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program to Find Majority Element in an Array #91

Closed
wants to merge 1 commit into from

Conversation

Ansh-Vikalp
Copy link
Contributor

SkillShow! 🎊🎈

Welcome! πŸŽ‰

Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐

πŸŽ‰ Have you reviewed the Contributing Guidelines? πŸ€” (Required)

  • YES
  • NO

πŸ“ Description

This pull request adds a Java solution for the problem "Find the Majority Element in an Array".
The program uses the Moore Voting Algorithm to efficiently determine the majority element, which appears more than n/2 times in the array.

πŸ”§ Fixes #62 (Required)

🏷️ Initiative Participation (Required)

This pull request is associated with the following initiative. Please choose the one you are contributing to:

  • 🌸 GSSoC (Girl Script Summer of Code)
  • 🌼 GSSoC 2024 Extd.
  • πŸ‚ Hacktoberfest 2024
  • ❄️ Script Winter of Code (SWoC)
  • β›„ Winter of Blockchain (WoB)
  • πŸ™‹β€β™‚οΈ Personal
  • πŸ“Œ Other (please specify): _______________

Copy link

@Ansh-Vikalp

It's great having you contribute to this project

Thank you for opening a Pull Request πŸ™Œ , Welcome to SkillShow πŸ’– We will review everything and get back to you :)

@Kushal997-das Kushal997-das added duplicate This issue or pull request already exists hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! πŸŽ‰ labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! πŸŽ‰
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Title: Implement Finding Majority Element in an Array
2 participants