Skip to content

Latest commit

 

History

History
executable file
·
12 lines (10 loc) · 291 Bytes

Cocktail Shaker Sort.md

File metadata and controls

executable file
·
12 lines (10 loc) · 291 Bytes
aliases

Cocktail Sort

#computer-science #computer-engineering

Cocktail sort is a similar to the [[bubble sort]] [[algorithm]] except it traverses up and down the array doing comparisons of contiguos pairs until all items are sorted.

Code Example

# finish me