mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
fixed shell_sort
This commit is contained in:
parent
ca78a8a9af
commit
42e9b09fa4
@ -18,7 +18,7 @@ def shell_sort(collection):
|
||||
comparable items inside
|
||||
:return: the same collection ordered by ascending
|
||||
|
||||
>>> shell_sort([0, 5, 3, 2, 2)]
|
||||
>>> shell_sort([0, 5, 3, 2, 2])
|
||||
[0, 2, 2, 3, 5]
|
||||
|
||||
>>> shell_sort([])
|
||||
|
Loading…
Reference in New Issue
Block a user