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

Content added Content deleted
m (added a missing word to the task's preamble.)
m (extended an HTML comment.)
Line 3: Line 3:
{{Wikipedia|Cocktail sort}}
{{Wikipedia|Cocktail sort}}


<!--
<!--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Because the Rosetta Code task Cocktail sort had so many entries in it,
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,
adding an optional algorithm (or a stretch goal) wasn't feasible at this time,
Line 10: Line 12:


-------------- Gerard Schildberger ---------------------
-------------- Gerard Schildberger ---------------------

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!-->
!-->