We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db24602 commit 1c49766Copy full SHA for 1c49766
1 file changed
Sorts/CombSort.js
@@ -12,6 +12,8 @@
12
* which does the actual swap, is modified such that gap between swapped
13
* elements goes down (for each iteration of outer loop) in steps of
14
* a "shrink factor" k: [ n/k, n/k2, n/k3, ..., 1 ].
15
+ *
16
+ * Wikipedia: https://en.wikipedia.org/wiki/Comb_sort
17
*/
18
19
function combSort (list) {
0 commit comments