-
-
Notifications
You must be signed in to change notification settings - Fork 43.9k
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
README.md - Quicksort average case performance #245
Comments
Hello harshildarji, my comment was for average case, not best case. Average case is usually O(n log n) not O(n^2) for this alg. |
@antfitch My bad, I’ll check and correct it within next 24 hours (or you can just do a PR with the corrections, I’ll immediately merge it). |
No worries and cool. I added a PR. |
@antfitch Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Readme says average case performance for quicksort is 0(n^2), but elsewhere, this is O(n log n).
https://en.wikipedia.org/wiki/Quicksort
Is this a bug in the docs? Or is average case performance for the version of quicksort in this repo actually O(n^2)?
The text was updated successfully, but these errors were encountered: