We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 028c169 commit e6e6648Copy full SHA for e6e6648
Sorts/CountingSort.js
@@ -1,8 +1,11 @@
1
-/*
2
- * Counting sort is an algorithm for sorting a collection of objects according to keys that are small integers;
3
- * that is, it is an integer sorting algorithm.
4
- * more information: https://en.wikipedia.org/wiki/Counting_sort
5
- * counting sort visualization: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html
+/**
+ * Counting sort is an algorithm for sorting a collection
+ * of objects according to keys that are small integers.
+ *
+ * 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
*/
10
11
function countingSort (arr, min, max) {
0 commit comments