Sorting algorithms/Comb sort: Difference between revisions
Content added Content deleted
(Added a solution for MATLAB) |
(→{{header|MATLAB}}: Optimized the swap) |
||
Line 387:
if (list(i) > list(i+gap))
swaps = true;
end
|