Commit Graph

99 Commits

Author SHA1 Message Date
wangzheng0822
65ac82639c
Merge pull request #405 from damianzhenxiaozhi/patch-3
removing all e in bucket, "use" should decrease
2019-10-11 10:39:05 +08:00
damianzhenxiaozhi
d4eac2fdcd
removing all e in bucket, "use" should decrease
删除槽中所有元素后,hash表占用变量use需要减1。
2019-09-27 18:31:22 +08:00
damianzhenxiaozhi
15d1990a06
should remove node in list and hash table both
删除一个缓存元素时,除了删除链表中的节点,也要删除散列表中的节点。
2019-09-27 15:53:55 +08:00
wangzheng0822
63e2dd2ff1
Merge pull request #396 from 1996fanrui/feature/skipList-randomLevel-optimize
fix: 修改 randomLevel 的生成算法
2019-09-16 08:28:43 +08:00
fanrui
8d587bbfc6 fix: 优化 randomLevel 注释,便于理解 2019-09-10 19:53:22 +08:00
fanrui
43eb2bb1d0 fix: 修改 randomLevel 的生成算法 2019-09-10 19:42:49 +08:00
staresgroup
7f702254ca 更新循环队列遍历for循环条件 2019-09-02 21:37:19 +08:00
huoda
3e89171ce8 feat(排序):添加堆排序算法(java实现) 2019-08-27 15:08:33 +08:00
wangzheng0822
b9dbaee276
Merge pull request #384 from GmDcf/master
跳表删除元素后,需要更新levelcount
2019-08-26 08:15:43 +08:00
wangzheng0822
c5f62a73ea
Merge pull request #379 from Bryanlby/master
链表:求中间结点代码有bug
2019-08-26 08:14:50 +08:00
yanglong09
fa95fa8b90 跳表删除元素后,需要更新levelcount 2019-08-20 13:24:23 +08:00
huoda
a9ad67f3f7 feat(散列表):添加基于散列表实现的LRU算法(java) 2019-08-09 16:39:28 +08:00
Bryanlby
e1347e4bf1 求中间结点 2019-08-08 16:32:39 +08:00
huoda
15bbfee262 feat(散列表):增加散列表java实现,使用链表法解决散列冲突 2019-08-08 16:06:33 +08:00
huoda
bb4b1feb0f 添加基数排序算法java实现 2019-07-25 15:06:00 +08:00
huoda
f39997c756 Merge remote-tracking branch 'upstream/master' 2019-07-25 15:01:21 +08:00
huoda
6c3b461e2e 整型数组c初始化后已经赋默认值0,不需要重复初始化 2019-07-25 14:59:24 +08:00
yunfanshao
703c6517f5
Update LinkedListAlgo.java 2019-06-27 20:43:26 +08:00
Shao
5bdf84d5a8 Update LinkedListAlgo.java 2019-06-27 20:42:04 +08:00
ackFinding
d438d07d0a
Update BucketSort.java
防止越界,小于2的也不需要排序
2019-06-13 14:25:10 +08:00
huoda
102edb333b 添加桶排序算法 2019-06-01 15:04:44 +08:00
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