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

Other sorting algorithms? #182

Open
dibu28 opened this issue Sep 7, 2022 · 2 comments
Open

Other sorting algorithms? #182

dibu28 opened this issue Sep 7, 2022 · 2 comments

Comments

@dibu28
Copy link

dibu28 commented Sep 7, 2022

I wonder how other sorting algorithms like: TrumpSort, PutinSort, BidenSort will look like? ))

@gustavo-depaula
Copy link
Owner

HAHAHHAHAa We have no official opinions about it! But we're open to suggestions

@austings
Copy link
Contributor

BidenSort uses a masked array to indicate the unordered elements, and Sleeps between each index.
TrumpSort deports unordered elements on the stack to a different array stored on the heap.
When PutinSort encounters an unordered element, it annexes the value by setting it to equal last indexed value.

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

No branches or pull requests

3 participants