Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8f3860c

Browse files
committed
Docs: correct quicksort invariant
- remove reference to compareTo in quicksort invariant.
1 parent 4342169 commit 8f3860c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
45 Bytes
Binary file not shown.

‎Data Structures with Java/Code/src/edu/bostonuniversity/utils/Quicksort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
public class Quicksort {
1919
// Invariant of the Sort.java class
20-
// 1. The data in the given array is sorted in ascending order based on our implementation of compareTo.
20+
// 1. The data in the given array is sorted in ascending order.
2121
// 2. Equal elements are positioned in the correct order.
2222

2323
/*

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /