文件名称:排序一个数组数字,书法复杂度O(n)
文件大小:1KB
文件格式:PY
更新时间:2022-04-15 17:39:51
算法
Appendix: Example:[275, 87, 426, 61, 409, 170, 677, 503] localhost:airline_crews kinbunhua$ python sort_number.py [[170], [61], [], [503], [], [275], [426], [87, 677], [], [409]] [[503, 409], [], [426], [], [], [], [61], [170, 275, 677], [87], []] [[61, 87], [170], [275], [], [409, 426], [503], [677], [], [], []] sorted list: [61, 87, 170, 275, 409, 426, 503, 677]