cocktail shaker sort

<algorithm> A bi-directional bubble sort. Passes alternate between ascending through array indexes, pushing the largest item to the bottom; and descending through array indexes, pushing the smallest item to the top.

[Performace vs plain bubble?]

Last updated: 2001-03-26

Try this search on Wikipedia, OneLook, Google

Nearby terms:

COBRA « cobwebsite « Cocktail « cocktail shaker sort » CoCo » Cocol » Coco Language

Loading