Daiquiri possible that William A. Chanler, a US congressman who purchased the Santiago iron mines in 1902, introduced the daiquiri to clubs in New York in that year. Originally the drink was served in a tall glass packed with cracked ice. A teaspoon of sugar was poured over the ice and the juice of one or two limes was squeezed over the sugar. Two or three ounces of white rum completed the mixture. The glass was then frosted by stirring with a long-handled spoon. Later the daiquiri evolved to be mixed in a shaker with the same ingredients but with shaved
Cocktail shaker sort before applying the sorting algorithm. For example, if every element is at a position that differs by at most k (k ≥ 1) from the position it is going to end up in, the complexity of cocktail shaker sort becomes formula_3 The cocktail shaker sort is also briefly discussed in the book "The Art of Computer Programming", along with similar refinements of bubble sort. In conclusion, Knuth states about bubble sort and its improvements: Cocktail shaker sort Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort (which can also refer to a variant of selection sort),