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
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
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
Rain Liu
79e2a3f2cb
Update java/08_stack/SampleBrowser.java
2018-10-09 06:59:10 +08:00
wangzheng0822
61c8385b85
Merge pull request #10 from chinalwb/master
...
deleteByNode可以提前结束 && deleteByValue 增加可重复删除指定value的代码
2018-10-08 11:09:38 +08:00
wangzheng0822
f86d85e4c8
Merge pull request #13 from xumorden/master
...
您定义的n和count没有看懂,而且调用过程中产生角标越界异常,我使用的JDK是1.8。自己私下改了代码,加了注释,希望能给您的开源项目做贡献。
2018-10-08 11:06:10 +08:00
wangzheng
62636dccff
08_stack
2018-10-07 14:51:02 +08:00
xumorden
62a07df093
您定义的n和count没有看懂,而且调用过程中产生角标越界异常,我使用的JDK是1.8。自己私下改了代码,加了注释,希望能给您的开源项目做贡献。
2018-10-07 11:32:14 +08:00
Rain Liu
04c7c20b68
deleteByNode可以提前结束
...
当删除节点为头结点的时候可以不用进行循环查找要删除节点的前驱节点
2018-10-06 23:15:37 +08:00
Rain Liu
181f721ad6
回滚deleteByNode可以提前结束的提交
2018-10-06 23:09:22 +08:00
Rain Liu
1d24c84df9
增加可重复删除指定value的代码
2018-10-06 23:06:09 +08:00
Rain Liu
20e65972d1
deleteByNode 可以提前结束
2018-10-06 22:38:31 +08:00
wangzheng
704a1afef9
07_linkedlist
2018-10-04 15:43:53 +08:00
wangzheng
4d1525b9a1
06_linkedlist
2018-10-02 23:42:34 +08:00
wangzheng
b9cbd6991b
array
2018-10-02 22:48:23 +08:00
wangzheng
d99379fc71
init
2018-09-24 13:50:20 +08:00
wangzheng
68463434cf
init
2018-09-24 13:50:12 +08:00
wangzheng
f1e3eef8c6
init
2018-09-24 13:45:59 +08:00
wangzheng
6ed4bba903
init
2018-09-24 13:35:55 +08:00