随笔分类 -  秋招备战

2019秋招刷题
排序——快速排序
摘要:https://blog.csdn.net/nrsc272420199/article/details/82587933 https://blog.csdn.net/A_BlackMoon/article/details/81064712 阅读全文
posted @ 2019-08-07 19:53 蔡狗八 阅读(141) 评论(0) 推荐(0)
排序——选择排序、插入排序、冒泡排序、归并排序
摘要:import math def select_sort(lists): """选择排序""" count = len(lists) for i in range(count): min = i for j in range(i+1,count): if lists[min] > lists[j]: ... 阅读全文
posted @ 2019-08-07 15:56 蔡狗八 阅读(189) 评论(0) 推荐(0)