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

Fix pivot choice in QuickSort #1

Open
alisianoi opened this issue Dec 2, 2016 · 0 comments
Open

Fix pivot choice in QuickSort #1

alisianoi opened this issue Dec 2, 2016 · 0 comments

Comments

@alisianoi
Copy link
Collaborator

Currently, QuickSort contains a bug in choice of pivot and the tests do not pick it up. Fix tests and then fix code.

https://github.com/all3fox/algos-java/blob/f43165ff0a573e4197695a48ca934829fb9c8f27/src/main/java/io/github/all3fox/sort/QuickSort.java#L25

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

1 participant