Anonymous user
Sorting algorithms/Cocktail sort: Difference between revisions
m
added a related task.
m (→{{header|REXX}}: changed wording in the section headers.) |
m (added a related task.) |
||
Line 27:
'''while''' swapped; ''// if no elements have been swapped,''
''// then the list is sorted''
;Related task:
:* [https://rosettacode.org/wiki/Sorting_algorithms/Cocktail_sort_with_shifting_bounds cocktail sort with shifting bounds]
<br><br>
=={{header|360 Assembly}}==
|