Added Wikipedia link | CombSort

This commit is contained in:
marsonya
2021-01-23 22:25:43 +05:30
parent db246025a3
commit 1c497661fd

View File

@ -12,6 +12,8 @@
* which does the actual swap, is modified such that gap between swapped
* elements goes down (for each iteration of outer loop) in steps of
* a "shrink factor" k: [ n/k, n/k2, n/k3, ..., 1 ].
*
* Wikipedia: https://en.wikipedia.org/wiki/Comb_sort
*/
function combSort (list) {