Skip to content

Commit

Permalink
fix error comments
Browse files Browse the repository at this point in the history
  • Loading branch information
赵坤 committed May 29, 2018
1 parent ad0e95c commit a471c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sorts/src/sort/BubbleSort.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ public static void main(String[] args) {
BubbleSort bubbleSort = new BubbleSort();
bubbleSort.sort(integers);

// Output => 1 4 6 9 12 23 54 78 231
// Output => 231, 78, 54, 23, 12, 9, 6, 4, 1
print(integers);

// String Input
String[] strings = {"c", "a", "e", "b","d"};
//Output => a b c d e
//Output => e, d, c, b, a
print(bubbleSort.sort(strings));

}
Expand Down

0 comments on commit a471c02

Please sign in to comment.