Sorting algorithms/Cocktail sort: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: added a faster version of the cocktail sort.) |
m (→{{header|REXX}}: changed a section name.) |
||
Line 2,846: | Line 2,846: | ||
return</lang> <br><br> |
return</lang> <br><br> |
||
===version |
===version with shifting bounds=== |
||
This REXX version can handle an array that may contain blanks or spaces. |
This REXX version can handle an array that may contain blanks or spaces. |
||