mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-18 16:27:02 +00:00
Updated average case for Quicksort
A small edit. Average case for quicksort changed from O(n^2) to O(n log n). Sited: https://en.wikipedia.org/wiki/Quicksort
This commit is contained in:
parent
c4234192fa
commit
a1c146a624
|
@ -55,7 +55,7 @@ From [Wikipedia][quick-wiki]: Quicksort (sometimes called partition-exchange sor
|
|||
__Properties__
|
||||
* Worst case performance O(n^2)
|
||||
* 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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user