mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-20 08:12:02 +00:00
Merge pull request #247 from antfitch/antfitch-patch-2
Updated average case for Quicksort
This commit is contained in:
commit
1da1e2016c
|
@ -55,7 +55,7 @@ From [Wikipedia][quick-wiki]: Quicksort (sometimes called partition-exchange sor
|
||||||
__Properties__
|
__Properties__
|
||||||
* Worst case performance O(n^2)
|
* Worst case performance O(n^2)
|
||||||
* Best case performance O(n log n) or O(n) with three-way partition
|
* Best case performance O(n log n) or O(n) with three-way partition
|
||||||
* Average case performance O(n^2)
|
* Average case performance O(n log n)
|
||||||
|
|
||||||
###### View the algorithm in [action][quick-toptal]
|
###### View the algorithm in [action][quick-toptal]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user