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?]



< Previous Terms Terms Containing cocktail shaker sort Next Terms >
COBOL-1961 Extended
COBOL fingers
COBRA
cobweb site
Cocktail
CoCo
Cocol
Coco Language
Cocol/R
COCOMO