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

After completing a sort, click start again, confusion occurs #11

Open
Runnlin opened this issue Dec 20, 2024 · 2 comments
Open

After completing a sort, click start again, confusion occurs #11

Runnlin opened this issue Dec 20, 2024 · 2 comments

Comments

@Runnlin
Copy link

Runnlin commented Dec 20, 2024

As title,
maybe you can perform a shuffle first when you click start again after the sort is completed?

@mszula
Copy link
Owner

mszula commented Dec 20, 2024

Hey,

I was wondering about it, and that's why I added the "Shuffle" button so that the user can decide whether he wants to shake the bag again or try to sort the already sorted list (which is not wrong from the algorithm perspective).

@mszula
Copy link
Owner

mszula commented Dec 20, 2024

I think I can also add some sort of settings so the user can decide which logic is more suitable for the case.

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

2 participants