Commit graph

25 commits

Author SHA1 Message Date
krahets
145975b335 Rename the common modules in Java, C++ and C. 2023-04-24 04:11:18 +08:00
krahets
b3640c53d1 Remove unused functions. 2023-04-14 05:52:59 +08:00
krahets
f7ae9c8a02 Fix the return type of binary search tree and avl tree 2023-04-14 05:47:20 +08:00
krahets
f8513455b5 Format the Java codes with the Reat Hat extension. 2023-04-14 00:12:10 +08:00
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
krahets
7238c560d1 Update binary_tree_bfs codes 2023-02-15 03:36:22 +08:00
krahets
300016393b Add code source blocks to the chapter Graph.
Fix "函数" and "方法"
2023-02-10 01:04:26 +08:00
krahets
ecbf2d1560 1. Add build script for Java.
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2023-02-07 04:43:52 +08:00
Yudong Jin
b39b84acba Update avl_tree 2023-02-03 18:58:01 +08:00
Yudong Jin
2336fe1d50 Update the comments in
binary_search_tree and avl_tree.
2023-01-17 01:53:12 +08:00
Yudong Jin
3e19205c84 Update a comment in binary_search_tree. 2023-01-15 15:43:06 +08:00
Yudong Jin
d0e5406f0c
Merge branch 'master' into heap-dev 2023-01-12 04:11:22 +08:00
Yudong Jin
daa28be3e4
Merge branch 'master' into binary_search_tree 2023-01-10 13:30:38 +08:00
龚国玮
96d54bff3a test(binary_search_tree): update test param all the language
use param value 7, not 5. function test param value with param value in example picture as same.
2023-01-10 12:16:02 +08:00
Yudong Jin
ecabb4077b Update codes of heap.java and my_heap.java 2023-01-08 22:18:23 +08:00
Yudong Jin
3ba37dba3a Fix the test case of the binary tree dfs in Java. 2023-01-08 19:08:07 +08:00
Yudong Jin
dcc3b2e35b Optimize arrToTree function
in java, cpp, py, go, js, ts.
2023-01-08 19:03:22 +08:00
Yudong Jin
0e49f0053a Update the format of the file headers
of c, cpp, java, js, ts, swift.
2023-01-06 03:39:19 +08:00
Yudong Jin
410c5d6b62 Free memory after removing
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
Yudong Jin
5e9a5524d4 Update AVL Tree. 2022-12-11 02:44:48 +08:00
Yudong Jin
a5e5aea86b Update avl_tree.java 2022-12-10 20:46:47 +08:00
Yudong Jin
d2db8b8d60 Add C++ code for the chapter binary tree. 2022-11-29 02:21:49 +08:00
krahets
9a861140d8 Rearrange the chapters.
Start to translate codes from Java to Python.
2022-11-25 02:04:38 +08:00
krahets
2f8829d3f6 Add section of binary search tree.
Make all table align center.
2022-11-15 04:55:19 +08:00
krahets
7fdb4d1443 Add a chapter of binary tree. 2022-11-12 22:48:46 +08:00