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

Most common element - update for #29 #32

Merged
merged 5 commits into from
Sep 4, 2024

Conversation

gudlot
Copy link
Contributor

@gudlot gudlot commented Sep 1, 2024

A shorter implementation of finding the most_common_element via Counter. Test is still working.

@Nikoleta-v3
Copy link
Owner

Hello @gudlot! Apologies for the delay in reviewing this.

Thank you very much for implementing a more efficient way to get the most common element! It looks great, and the test is still passing.

That's why we need tests, so we can always make sure we aren't breaking things when refactoring code. I am going to go ahead and accept your pull request. 👍🏻 Thank you again 🎉

@Nikoleta-v3 Nikoleta-v3 merged commit e4fe321 into Nikoleta-v3:main Sep 4, 2024
4 checks passed
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