MCPcopy 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"""
2An implementation of the cocktail shaker sort algorithm in pure Python.
3
4https://en.wikipedia.org/wiki/Cocktail_shaker_sort

Callers

nothing calls this directly

Calls 2

cocktail_shaker_sortFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected