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

Improvement to mode algorithm #206

Open
nchinling opened this issue Apr 20, 2024 · 0 comments
Open

Improvement to mode algorithm #206

nchinling opened this issue Apr 20, 2024 · 0 comments

Comments

@nchinling
Copy link

Issue description:
The current implementation to find the mode returns only one mode value. If there are more than one modes, it prints only the first mode value.

It is possible to have multiple modes given a list of numbers:
E.g.
{2, 2, 17, 2, 16 16, 15, 16}
The modes are 2 and 16.

I would like to work on this. Can you assign this issue to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants