We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b97ced4 commit 9082389Copy full SHA for 9082389
sorting_algorithms/bubble_sort.dart
@@ -23,7 +23,7 @@ List<int> bubbleSort(List<int> arr) {
23
arr.swap(j, j + 1);
24
}
25
26
- // (Optimization) if no two elements were swapped by inner loop, then break.
+ // (Optimization) if no elements were swapped by inner loop, then break.
27
if (!swapped) break;
28
29
0 commit comments