Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ pancake_sort.py
File
pancake_sort.py
sorts/pancake_sort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This is a pure Python implementation of the pancake sort algorithm
3
For doctests run following command:
4
python3 -m doctest -v pancake_sort.py
Callers
nothing calls this directly
Calls
2
pancake_sort
Function · 0.85
split
Method · 0.80
Tested by
no test coverage detected