希尔排序python
时间: 2023-10-12 09:05:21 浏览: 98
以下是一个用Python实现的希尔排序算法的代码:
```python
def ShellSort(nums):
#### 引用[.reference_title]
- *1* [【python算法系列三】 希尔排序算法](https://blog.csdn.net/m0_70372647/article/details/124808637)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [python排序算法——希尔排序(附代码)](https://blog.csdn.net/AOAIYI/article/details/128717484)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文