Skip to content

Commit 6c91696

Browse files
committed
Standard formatting fixes | Counting Sort
1 parent e026001 commit 6c91696

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sorts/CountingSort.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
2-
* Counting sort is an algorithm for sorting a collection
2+
* Counting sort is an algorithm for sorting a collection
33
* of objects according to keys that are small integers.
4-
*
4+
*
55
* It is an integer sorting algorithm.
6-
*
6+
*
77
* Wikipedia: https://en.wikipedia.org/wiki/Counting_sort
88
* Animated Visual: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html
99
*/
@@ -39,5 +39,5 @@ console.log('\n- Before Sort | Implementation of Counting Sort -')
3939
console.log(array)
4040
// After Sort
4141
console.log('- After Sort | Implementation of Counting Sort -')
42-
console.log(comcountingSortbSort(array))
42+
console.log(countingSort(array))
4343
console.log('\n')

0 commit comments

Comments
 (0)