We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e026001 commit 6c91696Copy full SHA for 6c91696
Sorts/CountingSort.js
@@ -1,9 +1,9 @@
1
/**
2
- * Counting sort is an algorithm for sorting a collection
+ * Counting sort is an algorithm for sorting a collection
3
* of objects according to keys that are small integers.
4
- *
+ *
5
* It is an integer sorting algorithm.
6
7
* Wikipedia: https://en.wikipedia.org/wiki/Counting_sort
8
* Animated Visual: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html
9
*/
@@ -39,5 +39,5 @@ console.log('\n- Before Sort | Implementation of Counting Sort -')
39
console.log(array)
40
// After Sort
41
console.log('- After Sort | Implementation of Counting Sort -')
42
-console.log(comcountingSortbSort(array))
+console.log(countingSort(array))
43
console.log('\n')
0 commit comments