Commit Graph

78 Commits

Author SHA1 Message Date
huoda
15878008e2 Merge remote-tracking branch 'upstream/master' 2019-05-29 17:41:38 +08:00
huoda
e3897a0b80 添加哨兵合并数组方法 2019-05-29 17:37:13 +08:00
wangzheng0822
c96dd3d565
Merge pull request #309 from jiaoqiyuan/master
改进冒泡排序实现、代码缩进
2019-05-09 08:50:07 +08:00
jiaoqiyuan
cb093b9579 添加bubbleSort2方法注释 2019-05-08 23:32:11 +08:00
jiaoqiyuan
f838e838d2 添加冒泡排序优化方法bubbleSort2及main方法,并调整一些缩进格式. 2019-05-08 23:26:42 +08:00
袁婷钰
9f5f01d113
Create 32_BFRK 2019-05-03 09:26:14 +08:00
Jerry Luo
1d21c00144
java中public类名必须跟文件名一致,将不一致的StackBasedOnLinkedList修改成一致;在.gitignore中配置IntelliJ idea项目配置相关文件。 2019-04-15 20:20:27 +08:00
wangzheng0822
ea402c706d
Merge pull request #286 from WayneCui/master
FEAT: add AC-AutoMata by java and bitmap by JS
2019-04-06 10:00:12 +08:00
WayneCui
981973c17c FEAT: add AC-AutoMata by java 2019-04-01 19:30:04 +08:00
victor
0747104188
Update LinkedListAlgo.java
fix
2019-03-26 15:03:05 +08:00
victor
4e75d73e00 improve linkedlistalgo reverse 2019-03-26 14:56:28 +08:00
许锦
db78ce38be fix bug 12_sorts.KthSmallest 2019-03-16 17:00:14 +08:00
wangjunwei87
c486abb37a
找到一组数据的第K大元素 2019-03-11 00:16:37 +08:00
Gsealy
319597a244 不存在ArrayOperate构造方法 2019-02-19 10:25:49 +08:00
wangzheng0822
0616eae605
Merge pull request #239 from milley/master
fixed lru array removeAndCache
2019-01-28 19:39:07 +08:00
milley
10dd677612 fixed lru array delete cache 2019-01-22 23:49:47 +08:00
cinita
fc8635016c update quick sort 2019-01-10 00:43:52 +08:00
Hoda
ebbaab829a 添加基于单链表实现LRU算法(java版) 2018-12-17 22:53:04 +08:00
wangzheng0822
41046e484b
Merge pull request #187 from iostalks/master
BM 算法 Objective-C 实现
2018-12-12 15:55:06 +08:00
Smallfly
f594e28af7 Merge github.com:wangzheng0822/algo 2018-12-11 12:26:52 +08:00
Smallfly
b57ec490b4 BM match by Objective-C 2018-12-11 12:24:14 +08:00
specialyang
b3e8972c43 lruBasedArray 2018-12-07 15:36:05 +08:00
chenrong
f74a14c60d 插入排序(插入位置,从头至尾搜索) 2018-11-29 17:05:38 +08:00
quanxing
425b724070 修改回文字符串代码bug,请指教 2018-11-18 17:17:26 +08:00
wangzheng0822
5ebfdc90d8
Update BinarySearchTree.java 2018-11-14 10:36:51 +08:00
wangzheng0822
96d308044e
Create BinarySearchTree.java 2018-11-13 22:55:15 +08:00
quanxing
d784b1b91a 添加带头节点翻转和不带头节点翻转以及回文串的实现C 2018-11-06 23:35:10 +08:00
westGG
99ee504a68 Resovle the conflict of the 11_sorts/Sorts.java 2018-11-04 10:19:11 +08:00
westGG
bd19818762 fix 133 2018-11-02 16:31:12 +08:00
Liam Huang
e484fe890e [java][17_skiplist] typo fix [forwords -> forwards] 2018-10-30 14:29:17 +08:00
wangzheng
d4eba0b686 Merge branch 'master' of https://github.com/wangzheng0822/algo 2018-10-28 23:07:51 +08:00
wangzheng
4742ac4d53 17 skiplist 2018-10-28 23:01:45 +08:00
wangzheng0822
6f934a97df
Merge pull request #99 from Liam0205/13_sorts
[cpp][13_sorts] 线性排序算法实现
2018-10-26 10:36:13 +08:00
wangzheng0822
18558aba7b
Merge pull request #95 from PansonPanson/master
java/12_sorts/MergeSort
2018-10-25 17:29:28 +08:00
Liam Huang
6f48cab072 [java][13_sorts] adjust the name of the directory.
14_sorts => 13_sorts, since the counting sort algorithm was introduced
in the 13th lecture.
2018-10-24 16:11:21 +08:00
PansonPanson
373b935efb java/12_sorts/MergeSort 2018-10-23 23:31:39 +08:00
carlos
ac6ad844c9 Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
2018-10-23 17:51:36 +08:00
wangzheng0822
42b6fd1d0b
Merge pull request #78 from Liam0205/11_sorts
[C++][11_sorts] 相关排序算法实现
2018-10-23 10:24:10 +08:00
wangzheng0822
40e85765af
Merge pull request #73 from RichardWeiYang/master
Sorts in c
2018-10-22 10:53:54 +08:00
wangzheng
2532017ee3 14_sorts 2018-10-18 16:14:44 +08:00
Liam Huang
46663a11a6 [java][05_array] update GenericArray.java, remove \b in file. 2018-10-17 10:40:29 +08:00
Liam Huang
7838cb7620 [java][05_array] adjust filename. 2018-10-16 22:18:11 +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
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
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
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
carlos
bc3b4e3510 合并原始代码主干
合并原始代码主干
2018-10-15 11:05:22 +08:00
wangzheng0822
145f62eb45
Merge pull request #62 from quanxing/master
修改了插入元素的方法
2018-10-15 10:11:56 +08:00