![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
玥晓珖
一起学习深度学习
展开
-
1.sorts method python (9)merge_sort
归并排序:原理:https://www.cnblogs.com/chengxiao/p/6194356.html这应该是我写的最蠢的一个代码了,不,可能以后还能写出更蠢的。。。。冗长,只能实现2**n 次方数组排序。。。准备接受鄙视了...# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author:...原创 2019-09-12 10:52:32 · 263 阅读 · 0 评论 -
1.sorts method python (8)quick_sort
快排序原理https://www.cnblogs.com/yangecnu/p/Introduce-Quick-Sort.htmlmy stupid code:# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author: yue zhangE-mails: yuezh2015@163.com"...原创 2019-09-02 10:29:25 · 295 阅读 · 0 评论 -
1.sorts method python (7)counting_sort
计数排序Counting sort 原理:https://blog.csdn.net/weililansehudiefei/article/details/71941188my stupid code:# -*- coding: utf-8 -*-"""Created on Wed Aug 14 14:47:01 2019@author: zhang"""import ...原创 2019-08-15 05:38:37 · 194 阅读 · 0 评论 -
1.sorts method python (3)bubble_sort
原理:http://bubkoo.com/2014/01/12/sort-algorithm/bubble-sort/my stupid code:# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author: yue zhangE-mails: yuezh2015@163.com"""imp...原创 2019-08-02 01:10:48 · 246 阅读 · 0 评论 -
1.sorts method python (2)Bogo Sort
算法思想:https://blog.csdn.net/qq_38780163/article/details/80805545my stupid code# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author: yue zhangE-mails: yuezh2015@163.com"...原创 2019-08-01 21:36:31 · 205 阅读 · 0 评论 -
1.sorts method python (6)comb_sort
梳排序原理:https://blog.csdn.net/heyuchang666/article/details/50554251my stupid code:# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author: yue zhangE-mails: yuezh2015@163.com"...原创 2019-08-06 10:18:42 · 302 阅读 · 0 评论 -
1.sorts method python (5)cocktail_shaker_sort
鸡尾酒排序原理:http://bubkoo.com/2014/01/15/sort-algorithm/shaker-sort/双向冒泡排序 (Bidirectional Bubble Sort)、波浪排序 (Ripple Sort)、摇曳排序 (Shuffle Sort)、飞梭排序 (Shuttle Sort) 和欢乐时光排序 (Happy Hour Sort)my stupid cod...原创 2019-08-05 05:51:46 · 232 阅读 · 0 评论 -
1.sorts method python (4)bucket_sort
桶排序原理:https://blog.csdn.net/liaoshengshi/article/details/47320023my stupid code:需要指定桶个数# -*- coding: utf-8 -*-"""Created on Wed Jul 31 10:14:28 2019@author: yue zhangE-mails: yuezh2015@16...原创 2019-08-05 03:49:32 · 197 阅读 · 0 评论 -
1.sorts method python (1)Bitonic Sort
1. 双调排序: Bitonic Sorthttps://blog.csdn.net/xbinworld/article/details/76408595复杂度O(n(logn)(logn)):https://www.cnblogs.com/bester/archive/2011/12/20/3255783.html缺点:works only when size of input...原创 2019-07-31 21:55:10 · 209 阅读 · 0 评论 -
python 各种小模块(glob,sys)
1. Python glob使用http://www.cnblogs.com/lovemo1314/archive/2011/04/26/2029556.htmlglob是python自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索,支持通配符操作,*,?,[]这三个通配符,*代表0个或多个字符,?代表一个字符,[]匹配指定范围内的字符,如[...原创 2018-11-29 03:55:22 · 459 阅读 · 0 评论