diptangsu / diptangsu/Sorting-Algorithms
Optimised QuickSort
Open
- Dominant language
- Java
- Stars
- 171
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
The **two way partition Quick Sort** have a worst case complexity of O(n^2) when there is duplicates element in the list. This can be optimised by **_3 way partition._** In this all the element left of pivot element is small while the centered elements are equal to pivot element and right portion of list contain greater than pivot element.
Contributor guide
Assessment
This issue has not been assessed yet.