Commit Graph

244 Commits

Author SHA1 Message Date
wangzheng0822
ddcfd3d27e
Merge pull request #77 from jerryderry/master
merge_sort and quick_sort in python
2018-10-23 10:23:57 +08:00
wangzheng0822
729f0de7ad
Merge pull request #76 from Liam0205/notes
[notes][11_sorts] done.
2018-10-23 10:23:39 +08:00
wangzheng0822
b7c6d52e8f
Merge pull request #74 from melojustme/master
InsertSort
2018-10-23 10:23:22 +08:00
wangzheng0822
0d0fd94650
Merge pull request #72 from luckydog612/patch-3
Update Sort_test.go
2018-10-23 10:23:08 +08:00
wangzheng0822
40e85765af
Merge pull request #73 from RichardWeiYang/master
Sorts in c
2018-10-22 10:53:54 +08:00
wangzheng0822
dba696767c
Merge pull request #71 from luckydog612/patch-2
Update Sort.go
2018-10-22 10:53:00 +08:00
Wenru Dong
b0b538b33f fix bug in bubble_sort to move made_swap between two loops 2018-10-18 13:13:38 +01:00
wangzheng
2532017ee3 14_sorts 2018-10-18 16:14:44 +08:00
Wenru Dong
122e1e78a8 add quick sort in swift 2018-10-17 22:02:44 +01:00
Wenru Dong
f52ce437b4 delete extra print 2018-10-16 22:31:55 +01:00
Wenru Dong
422b1a59bd mergeSort in swift 2018-10-16 22:25:52 +01:00
Wenru Dong
d8f7f90bd3 merge_sort and quick_sort in python 2018-10-16 20:58:53 +01:00
Liam Huang
d9021faa31 [11_sorts] opening question, done. 2018-10-16 18:57:53 +08:00
Liam Huang
78c9cea388 [11_sorts] selection sort, done. 2018-10-16 18:54:04 +08:00
Liam Huang
cfa730af92 [11_sorts] bubble sort, add example picture. 2018-10-16 18:51:48 +08:00
Liam Huang
fb6047f070 [11_sorts] insertion sort, done. 2018-10-16 18:50:40 +08:00
Liam Huang
26e7806bcf [11_sorts] insertion sort, test jpg. 2018-10-16 18:47:05 +08:00
Liam Huang
737b72c4c7 [11_sorts] bubble sort. 2018-10-16 18:45:45 +08:00
Liam Huang
76be3079b7 [11_sorts] how to evaluate sort algorithm. 2018-10-16 18:34:36 +08:00
Liam Huang
a4fe27aaa3 [11_sorts] init. 2018-10-16 18:28:08 +08:00
wangzheng
53a608e769 Merge branch 'master' of https://github.com/wangzheng0822/algo 2018-10-16 17:57:57 +08:00
wangzheng
bff2d397b9 12_sorts 2018-10-16 17:57:42 +08:00
吴磊
74a8bedb3d InsertSort 2018-10-16 17:26:02 +08:00
Wei Yang
b21be9c796 11_sorts: skip swap in case minIndex equals i
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
2018-10-16 14:39:57 +08:00
Wei Yang
a6078038ce Sorts in c
bubble/insertion/selection sort

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
2018-10-16 14:33:07 +08:00
李柏林
cba17d27b7
Update Sort_test.go 2018-10-16 11:20:12 +08:00
李柏林
46ded91a34
Update Sort.go 2018-10-16 11:19:07 +08:00
wangzheng0822
4e0649eee5
Merge pull request #70 from RichardWeiYang/master
11_sorts: more tight boundary for selectionSort() and remove minValue
2018-10-16 10:46:42 +08:00
wangzheng0822
858adadd60
Merge pull request #69 from chinalwb/master
Another 2 sorting implementation, bubble down (I named it..) and shell sort.
2018-10-16 10:45:55 +08:00
wangzheng0822
6f5d763c82
Merge pull request #68 from AllanWell/master
sort of Swift
2018-10-16 10:45:29 +08:00
wangzheng0822
4410a621d5
Merge pull request #66 from liutianyi1989/master
11_sorts
2018-10-16 10:45:16 +08:00
wangzheng0822
af53eaca05
Merge pull request #65 from Hkesd/master
php 09_queue
2018-10-16 10:44:43 +08:00
wangzheng0822
e2a174fb7d
Merge pull request #64 from SeasClouds/master
[php]四则运算bug修复
2018-10-16 10:44:08 +08:00
Wei Yang
be96922020 11_sorts: more tight boundary for selectionSort() and remove minValue
It is for sure a[i] == a[j], when i == j. So we could skip those cases.

And minValue could be represented by a[minIndex], so replace minValue
with a[minIndex].

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
2018-10-16 02:10:12 +08:00
Rain Liu
e6acab7a1a Other sort algorithms: bubbleDown and shell sort 2018-10-16 01:09:21 +08:00
AllanWell
640a632eea sort of Swift 2018-10-16 00:05:55 +08:00
Rain Liu
48a000b2ba
Merge pull request #3 from wangzheng0822/master
Merge from trunk
2018-10-15 17:12:41 +08:00
SeasClouds
30afdf38a5
Merge branch 'master' into master 2018-10-15 16:24:38 +08:00
huruidong
96e8901fc7 合并冲突 2018-10-15 16:18:19 +08:00
huruidong
94242acbd1 循环队列 和 插入排序 2018-10-15 15:51:16 +08:00
leotyliu(刘天一)
74b4b80646 11_sort 2018-10-15 14:58:23 +08:00
leo
f5c3dbbbf0
Merge pull request #5 from wangzheng0822/master
merge
2018-10-15 10:50:14 +08:00
Hkesd
aefc81009b php 09_queue 2018-10-15 10:41:55 +08:00
wangzheng0822
b9ed4f18f7
Merge pull request #63 from jerryderry/master
bubble sort, insertion sort and selection sort in python
2018-10-15 10:12:07 +08:00
wangzheng0822
145f62eb45
Merge pull request #62 from quanxing/master
修改了插入元素的方法
2018-10-15 10:11:56 +08:00
wangzheng0822
e8ac0d9973
Merge pull request #61 from jin13417/master
jinshaohui commit array stack.
2018-10-15 10:11:41 +08:00
wangzheng0822
d98625bfed
Merge pull request #58 from Liam0205/08_stack
[08_stack] move Compute.php to 08_stack.
2018-10-15 10:11:08 +08:00
wangzheng0822
fa29f55810
Merge pull request #57 from mvpcaozixiang/master
顺序栈与链式栈CPP实现。
2018-10-15 10:10:53 +08:00
wangzheng0822
9b4dba55d1
Merge pull request #56 from Gilbertat/master
添加动态数组
2018-10-15 10:10:42 +08:00
wangzheng
35f6a3a911 fix bug. 2018-10-15 10:09:49 +08:00