cocktail shaker sort

views updated

cocktail shaker sort A refinement of the bubble sort in which alternate passes go in opposite directions.

More From encyclopedia.com