mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
added PigeonHoleSort algorithm
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
https://en.wikipedia.org/wiki/Pigeonhole_sort
|
||||||
|
|
||||||
*Pigeonhole sorting is a sorting algorithm that is suitable
|
*Pigeonhole sorting is a sorting algorithm that is suitable
|
||||||
* for sorting lists of elements where the number of elements
|
* for sorting lists of elements where the number of elements
|
||||||
* (n) and the length of the range of possible key values (N)
|
* (n) and the length of the range of possible key values (N)
|
||||||
|
Reference in New Issue
Block a user