Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ stooge_sort.py
File
stooge_sort.py
sorts/stooge_sort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
stooge_sort(arr: list[int]) -> list[int]:
2
""
"
3
Examples:
4
>>> stooge_sort([18.1, 0, -7.1, -1, 2, 2])
Callers
nothing calls this directly
Calls
2
stooge_sort
Function · 0.85
split
Method · 0.80
Tested by
no test coverage detected