Commit Graph

66 Commits

Author SHA1 Message Date
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
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
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
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
wangzheng0822
a7d5144a58
Merge pull request #40 from Liam0205/bugfix_java_09_queue
[JAVA][09_queue] bugfix and typofix.
2018-10-12 17:47:00 +08:00
Liam Huang
4be60c4628 [09_queue] typo fix. 2018-10-10 23:06:56 +08:00
Liam Huang
f520b13b09 [09_queue] bugfix for printAll in CircularQueue. 2018-10-10 23:00:17 +08:00
xiaojunhehe
03f846c07c
针对上次修改的一些错误进行修正并且回答count的作用 2018-10-10 19:46:02 +08:00
wangzheng
34b568fd27 09_queue 2018-10-09 18:06:28 +08:00