We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2009b81 commit eb62cb0Copy full SHA for eb62cb0
src/com/jwetherell/algorithms/sorts/QuickSort.java
@@ -11,7 +11,7 @@
11
* Space: In-place.
12
* Stable: False.
13
*
14
- * Average case = O(n) Worst case = O(n^2) Best case = O(n*log n)
+ * Average case = O(n*log n), Worst case = O(n^2), Best case = O(n) [three-way partition and equal keys]
15
16
* http://en.wikipedia.org/wiki/Quick_sort
17
0 commit comments