fix error comments

This commit is contained in:
赵坤 2018-05-29 17:44:14 +08:00
parent ad0e95cdc6
commit a471c0224b

View File

@ -43,12 +43,12 @@ class BubbleSort implements SortAlgorithm {
BubbleSort bubbleSort = new BubbleSort(); BubbleSort bubbleSort = new BubbleSort();
bubbleSort.sort(integers); 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); print(integers);
// String Input // String Input
String[] strings = {"c", "a", "e", "b","d"}; String[] strings = {"c", "a", "e", "b","d"};
//Output => a b c d e //Output => e, d, c, b, a
print(bubbleSort.sort(strings)); print(bubbleSort.sort(strings));
} }