krahets
5b1a219b8b
Fine-tune code and texts.
1 year ago
krahets
628d8a516b
fix binary_search_tree code
1 year ago
krahets
2626de8d0b
Polish the chapter
...
introduction, computational complexity.
1 year ago
krahets
4e13755023
Add implementation of array binary tree.
...
Rewrite the tree serialization and deserialization methods.
Add applications of array and linked list.
1 year ago
krahets
b39e79be85
Fix remove() in binary search tree.
2 years ago
krahets
817b4598d5
Fix a comment in binary_search_tree code
2 years ago
krahets
145975b335
Rename the common modules in Java, C++ and C.
2 years ago
krahets
f7ae9c8a02
Fix the return type of binary search tree and avl tree
2 years ago
krahets
9c9c8b7574
Format C++ codes in Clang-Format Style: Microsoft
2 years ago
Yudong Jin
1c8b7ef559
refactor: Replace 结点 with 节点 ( #452 )
...
* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png
2 years ago
krahets
28f3c98697
Fix avl_tree.cpp
2 years ago
Gonglja
567497a6b8
Add cpp codes cmake build method ( #419 )
...
* feat(codes/cpp): Add cmake build method
* feat(codes/cpp): Modify the cpp support version to c++17
* feat(codes/cpp): fix graph_adjacency_list.cpp cannot be compiled into an executable
* style(codes/cpp): Adjust the code to enhance compatibility.
* feat(codes/cpp): Change cpp version from 17 to 11.
2 years ago
krahets
7238c560d1
Update binary_tree_bfs codes
2 years ago
krahets
300016393b
Add code source blocks to the chapter Graph.
...
Fix "函数" and "方法"
2 years ago
krahets
ecbf2d1560
1. Add build script for Java.
...
2. Add height limitation for code blocks in extra.css.
3. Fix "节点" to "结点".
2 years ago
Yudong Jin
e1abbcbf23
Update #320
2 years ago
Leo.Cai
e5ae3e1cab
add avl tree and heap part cpp code ( #320 )
...
* 将avl_tree翻译成c++代码(文档明天补)
* markdown翻译了
* avl_tree.cpp翻译了
* 堆的cpp翻译
* modify the code format
* Update heap.md
---------
Co-authored-by: Yudong Jin <krahets@163.com>
2 years ago
Yudong Jin
2336fe1d50
Update the comments in
...
binary_search_tree and avl_tree.
2 years ago
Yudong Jin
3e19205c84
Update a comment in binary_search_tree.
2 years ago
Yudong Jin
bb657f9517
Add destructors to the C++ codes.
2 years ago
Yudong Jin
daa28be3e4
Merge branch 'master' into binary_search_tree
2 years ago
龚国玮
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.
2 years ago
Yudong Jin
4d01436138
Remove avl_tree.cpp to match the latest docs.
2 years ago
Yudong Jin
dcc3b2e35b
Optimize arrToTree function
...
in java, cpp, py, go, js, ts.
2 years ago
Yudong Jin
0e49f0053a
Update the format of the file headers
...
of c, cpp, java, js, ts, swift.
2 years ago
Yudong Jin
410c5d6b62
Free memory after removing
...
a node from a LinkedList or TreeNode.
2 years ago
Yudong Jin
449258f0b0
Add the code to the docs.
2 years ago
mgisr
24077ae392
fix(avl tree): fix all issue
2 years ago
mgisr
e9996b37d6
feat(codes/cpp/chapter_tree/avl_tree.cpp): create 'avl_tree.cpp'
2 years ago
Yudong Jin
3fc3475af4
NULL to nullptr
2 years ago
Yudong Jin
d2db8b8d60
Add C++ code for the chapter binary tree.
2 years ago
Yudong Jin
431a0f6caf
1. Add C++ codes for the chapter of
...
computational complexity, sorting, searching.
2. Corrected some mistakes.
3. Update README.
2 years ago
krahets
9a861140d8
Rearrange the chapters.
...
Start to translate codes from Java to Python.
2 years ago