Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ cocktail_shaker_sort.py
File
cocktail_shaker_sort.py
sorts/cocktail_shaker_sort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
An implementation of the cocktail shaker sort algorithm in pure Python.
3
4
https://en.wikipedia.org/wiki/Cocktail_shaker_sort
Callers
nothing calls this directly
Calls
2
cocktail_shaker_sort
Function · 0.85
split
Method · 0.80
Tested by
no test coverage detected