Skip to content

Created new file in Sorts directory, CountingSortIntegers.java #200

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 4 commits into from
Oct 14, 2017
Merged

Created new file in Sorts directory, CountingSortIntegers.java #200

merged 4 commits into from
Oct 14, 2017

Conversation

youssefAli11997
Copy link
Contributor

Implemented the Counting Sort Algorithm for sorting integers that are within the range [0:10^8].
It sorts only integer arrays especially positive integers since it uses array elements as indexes in the frequency array.

@varunu28
Copy link
Contributor

@youssefAli11997 Thanks for the PR. Can you implement a generic version of same.
Or I can merge this PR and modify the code to its generic version.

@youssefAli11997
Copy link
Contributor Author

@varunu28 I created a generic version of my counting sort method.

@varunu28 varunu28 merged commit 01e2555 into TheAlgorithms:master Oct 14, 2017
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