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

One-Line Sort Algorithms #64

Open
wzhouwzhou opened this issue Oct 21, 2018 · 3 comments
Open

One-Line Sort Algorithms #64

wzhouwzhou opened this issue Oct 21, 2018 · 3 comments
Labels
enhancement New feature or request hacktoberfest-accepted Hacktoberfest! help wanted Extra attention is needed question Further information is requested suggestion Suggest changes to this repository

Comments

@wzhouwzhou
Copy link
Owner

This was first demonstrated in #5 (1 line quicksort in haskell) but are other sorting algorithms (ie merge, bubble, heap, bucket, radix, selection, etc) also possible in "one line" (in any language)? If not "one line", what's the shortest you think you can make it? I think this would be a cool task for people to try and complete.

@wzhouwzhou wzhouwzhou added enhancement New feature or request help wanted Extra attention is needed question Further information is requested hacktoberfest-accepted Hacktoberfest! suggestion Suggest changes to this repository labels Oct 21, 2018
@wzhouwzhou wzhouwzhou added this to Reviewing in Hacktoberfest 2018 via automation Oct 21, 2018
@vishal-wadhwa
Copy link
Contributor

I'd like to submit a one-liner python code for selection-ish sort. Let me know if I should proceed. :)
Thanks

@wzhouwzhou
Copy link
Owner Author

wzhouwzhou commented Oct 21, 2018

Thats totally cool, I'd love to see how it could be done! @vishal-wadhwa

@kannagikazuko
Copy link
Collaborator

Just tagging #73, a one-line implementation of bubble sort in C (and our first program in C).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest-accepted Hacktoberfest! help wanted Extra attention is needed question Further information is requested suggestion Suggest changes to this repository
Projects
No open projects
Hacktoberfest 2018
  
Reviewing
Development

No branches or pull requests

3 participants