follow Dictionary.com

Stories We Like: A Guide to the Comma

cocktail shaker sort

cocktail shaker sort in Technology

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?]
(2001-03-26)

The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source

Word of The Day

Word Value for cocktail

16
19
Scrabble Words With Friends