MCPcopy 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"""
2This is a pure Python implementation of the pancake sort algorithm
3For doctests run following command:
4python3 -m doctest -v pancake_sort.py

Callers

nothing calls this directly

Calls 2

pancake_sortFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected