Commit Graph

135 Commits

Author SHA1 Message Date
mgisr
641cf74afc feat(codes/cpp/include/TreeNode.cpp): add 'parent' and 'height' field 2022-12-03 17:17:58 +08:00
mgisr
e9996b37d6 feat(codes/cpp/chapter_tree/avl_tree.cpp): create 'avl_tree.cpp' 2022-12-03 17:15:51 +08:00
Yudong Jin
1d9a076cdd
Update README.md 2022-12-03 03:25:39 +08:00
Yudong Jin
28c134c15f Correct the usage of 地 and 得. 2022-12-03 01:58:23 +08:00
Yudong Jin
9bd5980a81 Organizing all the code blocks. 2022-12-03 01:31:29 +08:00
Yudong Jin
fec56afd5f
Merge pull request #63 from yabo083/patch-1
Update binary_tree_types.md
2022-12-02 20:35:05 +08:00
yabo083
a51b3fc60f
Update binary_tree_types.md
已简单修改有关完美二叉树的性质部分错误,但字体并不与原文相符,待进一步订正。
2022-12-02 20:23:52 +08:00
Yudong Jin
d85a14521f Fix the util of array to tree. 2022-12-02 00:53:19 +08:00
Yudong Jin
e20bc251f5 Add python code of chapter queue to docs. 2022-12-02 00:09:34 +08:00
Yudong Jin
460d42ae3d Merge branch 'master' of github.com:krahets/hello-algo 2022-12-01 23:01:53 +08:00
Yudong Jin
bd0054ecf2 Update preface. 2022-12-01 23:01:45 +08:00
Yudong Jin
fcbe480b76
Merge pull request #55 from pengchzn/patch-2
Update array_stack.py
2022-12-01 22:57:32 +08:00
Yudong Jin
6090079a2f
Merge pull request #53 from pengchzn/master
Add python code for queue
2022-12-01 22:55:24 +08:00
Yudong Jin
6dba81d145
Merge pull request #56 from mgisr/master
fix(codes/cpp/include/TreeNode.hpp):  fix 'vecToTree' function
2022-12-01 22:47:28 +08:00
Yudong Jin
ab0201a10d
Merge pull request #57 from IsChristina/js-dev
add sort for javascript codes
2022-12-01 22:41:32 +08:00
Yudong Jin
1728be1e61
Update quick_sort.md
Fix indentation
2022-12-01 22:39:31 +08:00
Yudong Jin
be8a586768
Update quick_sort.js
Fix indentation
2022-12-01 22:38:01 +08:00
IsChristina
7eea137c28 add sort for javascript codes 2022-12-01 18:28:57 +08:00
mgisr
84825a22d9 fix(codes/cpp/include/TreeNode.hpp): Fix 'vecToTree' function 2022-12-01 09:09:34 +08:00
pengchzn
59e46ada82 Add python code for queue 2022-12-01 06:53:08 +08:00
彭琛
6879f7dc21
Update array_stack.py
An type error of ";"
2022-12-01 06:50:25 +08:00
pengchzn
a2b7586c98 Add python code for queue 2022-11-30 12:15:50 +08:00
Yudong Jin
acfdc713ba update stack and queue. 2022-11-30 03:46:53 +08:00
Yudong Jin
8669e06414 Update stack and queue. 2022-11-30 02:27:26 +08:00
Yudong Jin
53cc651af2 Update python code of stack. 2022-11-29 23:35:51 +08:00
Yudong Jin
3edfe649af Merge branch 'master' of github.com:krahets/hello-algo 2022-11-29 23:13:45 +08:00
Yudong Jin
dc3c45c326 Update Readme 2022-11-29 23:13:39 +08:00
Yudong Jin
889e7b6f13
Merge pull request #50 from pengchzn/master
栈的python代码
2022-11-29 23:12:44 +08:00
Yudong Jin
b1b5094436
Update linkedlist_stack.py 2022-11-29 23:11:54 +08:00
pengchzn
60cb2ffc97 栈的python代码 2022-11-29 22:58:16 +08:00
pengchzn
f8d44be73d 栈的python代码 2022-11-29 21:42:59 +08:00
Yudong Jin
225c96c941
Merge pull request #45 from Reanon/feature/support-go-chapter-stack-queue
Feature/support go chapter stack queue
2022-11-29 20:28:59 +08:00
pengchzn
b47f54886e 栈的python代码 2022-11-29 13:58:23 +08:00
reanon
a554590fa8 feat(deque): add implementation of deque 2022-11-29 10:46:25 +08:00
reanon
19469aecbf fix(go): modify interface of stack, queue and deque 2022-11-29 10:44:31 +08:00
reanon
d32f15feb1 fix(testcase): modify testcase 2022-11-29 10:44:31 +08:00
reanon
bed8b07b0b feat(deeue): implement deque in golang code 2022-11-29 10:44:31 +08:00
reanon
76a7e0b232 feat(queue): implement queue in golang code 2022-11-29 10:44:31 +08:00
reanon
27e4402eca feat(stack): implement stack in golang code 2022-11-29 10:44:31 +08:00
reanon
67409cdb12 fix(tree): amend tree in golang 2022-11-29 10:44:31 +08:00
Yudong Jin
d0302ee490
Merge pull request #48 from pengchzn/patch-1
Update stack.md
2022-11-29 10:27:10 +08:00
彭琛
d9e4b21e4f
Update stack.md
197行处,“站栈顶”笔误
2022-11-29 10:15:45 +08:00
Yudong Jin
193f67f99e Update binary search 2022-11-29 03:26:50 +08:00
Yudong Jin
3fc3475af4 NULL to nullptr 2022-11-29 03:21:02 +08:00
Yudong Jin
cce8201e2b Add a comment file header. 2022-11-29 03:19:08 +08:00
Yudong Jin
d2db8b8d60 Add C++ code for the chapter binary tree. 2022-11-29 02:21:49 +08:00
Yudong Jin
980eaf65e0 Add a lib in include.hpp 2022-11-29 00:37:07 +08:00
Yudong Jin
495697e19e
Merge pull request #44 from qualifier1024/patch-13
Update array_stack.cpp
2022-11-29 00:29:25 +08:00
Yudong Jin
56ef5a71cd
Update array_stack.cpp
Make `vec` a private member.
2022-11-29 00:26:18 +08:00
qualifier1024
f772e28acb
Update array_stack.cpp
仿照linkedlist_stack实现的array_stack,补上了测试代码
2022-11-28 22:23:27 +08:00