mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 09:28:26 +08:00
Improved main description comment | Counting Sort
This commit is contained in:
@ -1,8 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* Counting sort is an algorithm for sorting a collection of objects according to keys that are small integers;
|
* Counting sort is an algorithm for sorting a collection
|
||||||
* that is, it is an integer sorting algorithm.
|
* of objects according to keys that are small integers.
|
||||||
* more information: https://en.wikipedia.org/wiki/Counting_sort
|
*
|
||||||
* counting sort visualization: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html
|
* It is an integer sorting algorithm.
|
||||||
|
*
|
||||||
|
* Wikipedia: https://en.wikipedia.org/wiki/Counting_sort
|
||||||
|
* Animated Visual: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function countingSort (arr, min, max) {
|
function countingSort (arr, min, max) {
|
||||||
|
Reference in New Issue
Block a user