Skip to content

Commit 1c49766

Browse files
committed
Added Wikipedia link | CombSort
1 parent db24602 commit 1c49766

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sorts/CombSort.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* which does the actual swap, is modified such that gap between swapped
1313
* elements goes down (for each iteration of outer loop) in steps of
1414
* a "shrink factor" k: [ n/k, n/k2, n/k3, ..., 1 ].
15+
*
16+
* Wikipedia: https://en.wikipedia.org/wiki/Comb_sort
1517
*/
1618

1719
function combSort (list) {

0 commit comments

Comments
 (0)