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

counting sort in Lua #37

Open
icemberg opened this issue Oct 1, 2024 · 2 comments
Open

counting sort in Lua #37

icemberg opened this issue Oct 1, 2024 · 2 comments
Assignees

Comments

@icemberg
Copy link
Contributor

icemberg commented Oct 1, 2024

I would like to add an counting sort code in lua .Please assign me this task

@icemberg icemberg changed the title Insertion sort in Lua counting sort in Lua Oct 1, 2024
@icemberg
Copy link
Contributor Author

icemberg commented Oct 1, 2024

please label this for hacktoberfest 2024 issue

@appgurueu
Copy link
Collaborator

Sure. Some notes:

  • Please try to follow the contribution guidelines.
  • To make this generically useful, please take an optional key function as a parameter which maps array elements to their integer key. This should default to the identity function.
  • Please try to implement it such that it is stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants