Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions

m
Line 2,164:
 
=={{header|XPL0}}==
Translation of the pseudo code from Wikipedia.
<syntaxhighlight lang "XPL0">procedure CocktailShakerSort(A, Length);
integer A, Length;
297

edits