Skip to content

Improvements to Count Occurrences #883

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

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

schlagelk
Copy link
Contributor

@schlagelk schlagelk commented Jul 8, 2019

Checklist

Description

This PR makes a few minor improvements to the Count Occurrences algorithm. Most notably, it rewrites the definition to constrain the algorithm to Comparable types (instead of just Integers) and improves some documentation and semantics.

Copy link
Member

@kelvinlauKL kelvinlauKL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you for the improvements!

@kelvinlauKL kelvinlauKL merged commit 78539d9 into kodecocodes:master Jul 15, 2019
@schlagelk schlagelk deleted the count-occurrences branch July 16, 2019 00:36
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