Commit Graph

229 Commits

Author SHA1 Message Date
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
wangzheng
2532017ee3 14_sorts 2018-10-18 16:14:44 +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
huruidong
996974b4d2 1.修复括号不匹配。2.除法也要优先于乘法运算 2018-10-15 09:37:28 +08:00
Wenru Dong
f396d94168 implementations of bubble sort, insertion sort and selection sort in python 2018-10-14 19:04:22 +01:00
quanxing
cf07ae7747 修改了插入元素的方法 2018-10-14 22:46:23 +08:00
wangzheng
80550d66de Merge branch 'master' of https://github.com/wangzheng0822/algo 2018-10-14 19:36:41 +08:00
wangzheng
46266da8ec 11_sorts 2018-10-14 19:36:24 +08:00
jinshaohui
8d5ebed28b add by jinshaohui for link list queue 2018-10-13 09:47:56 +08:00
jinshaohui
3e0648be96 add by jinshaohui for array cycle queue C 2018-10-13 06:01:48 +08:00
Liam Huang
c0094397af [08_stack] move Compute.php to 08_stack. 2018-10-12 22:35:41 +08:00
MengDe Li
0b6dd0ada2
Merge pull request #3 from wangzheng0822/master
Merge
2018-10-12 22:21:04 +08:00
Zix
d69e3d1942
Create StackBasedOnLinkedList.cpp 2018-10-12 19:52:37 +08:00
Zix
84802a4b9f
Create StackBasedOnLinkedList.h 2018-10-12 19:52:14 +08:00
Zix
0d89d2bdab
Create StackBasedOnArray.cpp 2018-10-12 19:50:55 +08:00
Zix
1e0e0e6967
Create StackBasedOnArray.h 2018-10-12 19:50:35 +08:00
Shi Yue
c6275984b0
Merge pull request #1 from wangzheng0822/master
动态数组
2018-10-12 18:55:34 +08:00
Gilbertat
be01ea5048 添加动态数组 2018-10-12 18:51:46 +08:00