Skip to content

Commit

Permalink
Merge pull request TheAlgorithms#448 from vikaskyadav/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
harshildarji authored Oct 12, 2018
2 parents 4fc68bb + 3fef88a commit acec2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ __Properties__
* Best case performance O(n+k)
* Average case performance O(n+k)

### Coctail shaker
### Cocktail shaker
![alt text][cocktail-shaker-image]

From [Wikipedia][cocktail-shaker-wiki]: Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort (which can also refer to a variant of selection sort), ripple sort, shuffle sort, or shuttle sort, is a variation of bubble sort that is both a stable sorting algorithm and a comparison sort. The algorithm differs from a bubble sort in that it sorts in both directions on each pass through the list.
Expand Down

0 comments on commit acec2c2

Please sign in to comment.