Commit graph

81 commits

Author SHA1 Message Date
nuomi1
d52b60804b
feat: add Swift codes for binary_tree_traversal article 2023-01-19 00:12:54 +08:00
nuomi1
3ba87bcd7b
feat: add Swift codes for binary_tree article 2023-01-18 21:37:13 +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
d33ececd57 Fix bst_degradation.png 2023-01-16 14:31:00 +08:00
Yudong Jin
3e19205c84 Update a comment in binary_search_tree. 2023-01-15 15:43:06 +08:00
Yudong Jin
bb657f9517 Add destructors to the C++ codes. 2023-01-14 19:52:11 +08:00
fbigm
dea3d0fa92
描述修改
若将上图的「结点 2」看作父结点-->若将下图的「结点 2」看作父结点
2023-01-12 11:32:32 +08:00
Yudong Jin
d0e5406f0c
Merge branch 'master' into heap-dev 2023-01-12 04:11:22 +08:00
Cavin
9c5eedeb8c
Update binary_tree.md
优化第三段中对“左子树”和“右子树”的描述
2023-01-10 16:02:46 +08:00
Yudong Jin
aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +08:00
Yudong Jin
97ee638d31 Update the Optional alias of Python codes. 2023-01-09 02:49:34 +08:00
Yudong Jin
6b3c87399b Add time complexity in stack, queue, deque. Update heap. 2023-01-09 02:17:40 +08:00
Yudong Jin
5c943471c7
Merge pull request #220 from Reanon/bugfix/fix-go-code-style
style(go): fix go code style
2023-01-09 02:16:12 +08:00
reanon
388509a842 docs(tree/avl_tree): add go code 2023-01-09 01:13:29 +08:00
reanon
0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
Yudong Jin
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +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
694ea4f665 Modify 。** to **。 for better visualization. 2023-01-07 20:34:32 +08:00
moonache
5775794351
错别字:从顶置底 -> 从顶至底 2023-01-04 19:27:35 +08:00
Yudong Jin
e850152130 Update the rotation cases of the AVL tree. 2023-01-03 03:40:01 +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
047e15e8d5
Merge pull request #183 from guowei-gong/binary_tree
docs(binary_tree): fix comment style and punctuation
2022-12-29 00:50:53 +08:00
龚国玮
debcc984e1 docs(binary_search_tree): variable name error
Combining Context, Compare 'cur.val' and 'num', not 'cur.val' and 'val`.
2022-12-28 17:07:59 +08:00
龚国玮
bd5cfb1117 docs(binary_tree): fix comment style and punctuation 2022-12-28 12:29:29 +08:00
Yudong Jin
466fdd494b Update the chapter tree. 2022-12-27 19:42:39 +08:00
Yudong Jin
d03980e185 Merge branch 'master' of github.com:krahets/hello-algo 2022-12-27 19:39:37 +08:00
Yudong Jin
f9cc3a50cf Fine tune 2022-12-27 19:38:14 +08:00
Yudong Jin
449258f0b0 Add the code to the docs. 2022-12-27 19:33:58 +08:00
Yudong Jin
c4d32621c3
Merge branch 'master' into master 2022-12-27 19:16:39 +08:00
a16su
8b401c2acb
fix format error 2022-12-27 18:34:12 +08:00
Yudong Jin
8e9bfabae2 Fix binary search tree. 2022-12-27 17:10:23 +08:00
Yudong Jin
36507b84a0 Merge branch 'master' of github.com:krahets/hello-algo 2022-12-27 12:15:10 +08:00
Yudong Jin
f1911015f3
Merge pull request #180 from DullSword/patch-2
docs(chapter_tree/binary_tree/二叉树表示方式 *): TS code
2022-12-27 12:14:51 +08:00
DullSword
142913bc9d
docs(chapter_tree/binary_tree/二叉树表示方式 *): TS code
与下图及其他编程语言示例代码不一致
2022-12-27 11:51:04 +08:00
DullSword
9a46bf1d80
docs(chapter_tree/binary_tree/二叉树表示方式 *): JS code
与下图及其他编程语言示例代码不一致
2022-12-27 11:34:41 +08:00
Yudong Jin
c2662592bb Update space complexity 2022-12-26 13:15:09 +08:00
Yudong Jin
18c43566b4 Update summary of the chapter binary tree. 2022-12-25 14:05:42 +08:00
Yudong Jin
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
Yudong Jin
b1645c7d7e Fine tune 2022-12-24 16:15:41 +08:00
zhuzhiqing
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
Yudong Jin
919236f479 1. Add array representation of binary tree.
2. Update the LEGO example.
3. Update headers of the Python files.
2022-12-23 00:44:40 +08:00
Yudong Jin
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
Yudong Jin
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
a16su
9eac1275f6
add binary_tree and avl_tree python code 2022-12-20 15:52:00 +08:00
Yudong Jin
57fb315b4a Update AVLTree. 2022-12-18 22:54:42 +08:00
Yudong Jin
be68420716 Update binary tree. 2022-12-18 15:59:34 +08:00
Yudong Jin
3d2d978f22 Fix a mistake in the terminology of binary tree. 2022-12-18 15:42:06 +08:00
justin
490f8d6685 Add the TypeScript code to binary search tree docs (Chapter of Tree) 2022-12-15 00:01:10 +08:00
justin
3e9c3fc34f Add the TypeScript code to binary tree docs (Chapter of Tree) 2022-12-15 00:00:40 +08:00
Yudong Jin
26436c75a5 Update site description. 2022-12-14 01:30:04 +08:00