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

m
extended an HTML comment.
m (added a missing word to the task's preamble.)
m (extended an HTML comment.)
Line 3:
{{Wikipedia|Cocktail sort}}
 
<!--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
Because the Rosetta Code task Cocktail sort had so many entries in it,
adding an optional algorithm (or a stretch goal) wasn't feasible at this time,
Line 10 ⟶ 12:
 
-------------- Gerard Schildberger ---------------------
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!-->