Commit Graph

13 Commits

Author SHA1 Message Date
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
Justin Tse b14568151c
Add TypeScript code and docs to AVL tree and the coding style for Typescript and JavaScript (#342)
* Add TypeScript code and docs to AVL tree and update JavaScript style

* Update the coding style for Typescript and JavaScript
2023-02-07 01:21:58 +08:00
Leo.Cai e3f0151a7f
add js codes to avl_tree.js (#323)
* add js codes to avl_tree.js

* fixed format wrong

* Update avl_tree.js

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-02-05 14:15:05 +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 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 dcc3b2e35b Optimize arrToTree function
in java, cpp, py, go, js, ts.
2023-01-08 19:03:22 +08:00
Yudong Jin 410c5d6b62 Free memory after removing
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
justin a171414c7b Update JavaScript style (Chapter of Tree) 2022-12-13 21:32:47 +08:00
Yudong Jin 7dbbc3de12
Update binary_search_tree.js 2022-12-05 00:14:21 +08:00
IsChristina 003dcc56f4 add JavaScript codes for PrintUtil 2022-12-04 23:14:09 +08:00
IsChristina db416cf4bb add JavaScript codes for Tree 2022-12-04 12:26:09 +08:00