Skip to content

Commit bcaa84a

Browse files
committed
Merge pull request #2 from phishman3579/master
Fixed incorrect comment in QuickSort.java
2 parents 36b9943 + eb62cb0 commit bcaa84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/jwetherell/algorithms/sorts/QuickSort.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Space: In-place.
1212
* Stable: False.
1313
*
14-
* Average case = O(n) Worst case = O(n^2) Best case = O(n*log n)
14+
* Average case = O(n*log n), Worst case = O(n^2), Best case = O(n) [three-way partition and equal keys]
1515
*
1616
* http://en.wikipedia.org/wiki/Quick_sort
1717
*

0 commit comments

Comments
 (0)