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 d133706 commit 8f1a886Copy full SHA for 8f1a886
counting_sort/Java/count_sort.java renamed to counting_sort/Java/CountSort.java
@@ -37,7 +37,7 @@ static int[] countSort(int[] arr) {
37
38
for (int i = 1; i < count_arr.length; i++) {
39
count_arr[i] += count_arr[i - 1]; // rolling sum to get the count of numbers less than the
40
- // current index in the original array
+ // current index in the original array
41
}
42
43
int[] sorted_arr = new int[arr.length]; // declare and initialize the sorted array so elements from
@@ -61,3 +61,4 @@ public static void main(String[] args) {
61
62
63
64
+
0 commit comments