Skip to content

quicksort_3_partition #304

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

Merged
merged 2 commits into from
May 28, 2018
Merged

quicksort_3_partition #304

merged 2 commits into from
May 28, 2018

Conversation

hytae1993
Copy link

When I study about sorting algorithm, I saw another version of quick-sort which is called 3-way quicksort.
In that site, 3-way quicksort is explained as

"The 3-way partition variation of quick sort has slightly higher overhead compared to the standard 2-way partition version. Both have the same best, typical, and worst case time bounds, but this version is highly adaptive in the very common case of sorting with few unique keys."

I create pull request, just because other students like me notice that there is other version of quick-sort.

@harshildarji harshildarji merged commit 8727246 into TheAlgorithms:master May 28, 2018
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

Successfully merging this pull request may close these issues.

2 participants