-
Notifications
You must be signed in to change notification settings - Fork 0
fedelebron/Quicksort
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A tiny quicksort implementation. Uses the middle element as a pivot, and works in-place. median_quicksort is a slightly more clever implementation, as it uses the median of the middle, first and last elements for pivoting. Nonetheless, there exist median-of-three killer datasets. A randomized implementation would be better when inputs are both unknown and can be malicious.
About
Two tiny quicksort implementations.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published