Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ ShellSort.py
File
ShellSort.py
ShellSort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# python实现希尔排序
2
def
shellSort(alist):
3
sublistcount= len(alist)//2
4
while
sublistcount > 0:
Callers
nothing calls this directly
Calls
1
shellSort
Function · 0.85
Tested by
no test coverage detected