Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ gnome_sort.py
File
gnome_sort.py
sorts/gnome_sort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Gnome Sort Algorithm (A.K.A. Stupid Sort)
3
4
This algorithm iterates over a list comparing an element
with
the previous one.
Callers
nothing calls this directly
Calls
2
gnome_sort
Function · 0.85
split
Method · 0.80
Tested by
no test coverage detected