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

Tagged:

Read Also:

  • Cocktail stick

    noun 1. a small pointed stick used for holding cherries, olives, etc, in cocktails, and for serving snacks, such as small sausages

  • Cocktail-table

    noun 1. .



  • Cock-tease

    verb To permit sexual familiarities but deny the sex act: They were chivying a string of suitors and behaving like overage sorority sisters. They cock-teased (1950s+)

  • Cockteaser

    [kok-tee-zer] /ˈkɒkˌti zər/ noun, Slang: Vulgar. 1. a girl or woman who purposely excites or arouses a male sexually but then refuses to have intercourse.



Disclaimer: Cocktail shaker sort definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.