134 Commits

Author SHA1 Message Date
f103fdecc9 1. Update extra.css for overwrite
the sections title color.
2. Add figures to hash collision.
3. Add inorder traversal in binary search tree.
2023-01-30 03:55:13 +08:00
af8ee88e50 feat: add Swift codes for avl_tree article (#302) 2023-01-29 00:03:28 +08:00
d76e6582fa feat: add Swift codes for binary_search_tree article (#296) 2023-01-27 01:52:51 +08:00
d52b60804b feat: add Swift codes for binary_tree_traversal article 2023-01-19 00:12:54 +08:00
3ba87bcd7b feat: add Swift codes for binary_tree article 2023-01-18 21:37:13 +08:00
2336fe1d50 Update the comments in
binary_search_tree and avl_tree.
2023-01-17 01:53:12 +08:00
d33ececd57 Fix bst_degradation.png 2023-01-16 14:31:00 +08:00
3e19205c84 Update a comment in binary_search_tree. 2023-01-15 15:43:06 +08:00
bb657f9517 Add destructors to the C++ codes. 2023-01-14 19:52:11 +08:00
dea3d0fa92 描述修改
若将上图的「结点 2」看作父结点-->若将下图的「结点 2」看作父结点
2023-01-12 11:32:32 +08:00
d0e5406f0c Merge branch 'master' into heap-dev 2023-01-12 04:11:22 +08:00
9c5eedeb8c Update binary_tree.md
优化第三段中对“左子树”和“右子树”的描述
2023-01-10 16:02:46 +08:00
aaa2ff29f9 Fix all the ** (bolded symbols). 2023-01-09 22:39:30 +08:00
97ee638d31 Update the Optional alias of Python codes. 2023-01-09 02:49:34 +08:00
6b3c87399b Add time complexity in stack, queue, deque. Update heap. 2023-01-09 02:17:40 +08:00
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
388509a842 docs(tree/avl_tree): add go code 2023-01-09 01:13:29 +08:00
0243957015 doc(code): modify go code in docs 2023-01-08 20:33:30 +08:00
73e3452838 Add Swift language blocks to the docs. 2023-01-08 19:41:05 +08:00
dcc3b2e35b Optimize arrToTree function
in java, cpp, py, go, js, ts.
2023-01-08 19:03:22 +08:00
694ea4f665 Modify 。** to **。 for better visualization. 2023-01-07 20:34:32 +08:00
5775794351 错别字:从顶置底 -> 从顶至底 2023-01-04 19:27:35 +08:00
e850152130 Update the rotation cases of the AVL tree. 2023-01-03 03:40:01 +08:00
410c5d6b62 Free memory after removing
a node from a LinkedList or TreeNode.
2023-01-02 19:53:55 +08:00
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
466fdd494b Update the chapter tree. 2022-12-27 19:42:39 +08:00
d03980e185 Merge branch 'master' of github.com:krahets/hello-algo 2022-12-27 19:39:37 +08:00
f9cc3a50cf Fine tune 2022-12-27 19:38:14 +08:00
449258f0b0 Add the code to the docs. 2022-12-27 19:33:58 +08:00
c4d32621c3 Merge branch 'master' into master 2022-12-27 19:16:39 +08:00
8b401c2acb fix format error 2022-12-27 18:34:12 +08:00
8e9bfabae2 Fix binary search tree. 2022-12-27 17:10:23 +08:00
36507b84a0 Merge branch 'master' of github.com:krahets/hello-algo 2022-12-27 12:15:10 +08:00
f1911015f3 Merge pull request #180 from DullSword/patch-2
docs(chapter_tree/binary_tree/二叉树表示方式 *): TS code
2022-12-27 12:14:51 +08:00
142913bc9d docs(chapter_tree/binary_tree/二叉树表示方式 *): TS code
与下图及其他编程语言示例代码不一致
2022-12-27 11:51:04 +08:00
9a46bf1d80 docs(chapter_tree/binary_tree/二叉树表示方式 *): JS code
与下图及其他编程语言示例代码不一致
2022-12-27 11:34:41 +08:00
c2662592bb Update space complexity 2022-12-26 13:15:09 +08:00
18c43566b4 Update summary of the chapter binary tree. 2022-12-25 14:05:42 +08:00
8733557f00 Update C# code. 2022-12-24 17:05:58 +08:00
b1645c7d7e Fine tune 2022-12-24 16:15:41 +08:00
a427cb1b4d 完善所以c#相关的文档和代码 2022-12-23 15:42:02 +08:00
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
f39636cb63 Update the structure of the chapter
of binary tree.
2022-12-21 17:19:39 +08:00
f3ef226874 Remove the spaces between “ ” and 中文 aside. 2022-12-21 01:37:58 +08:00
9eac1275f6 add binary_tree and avl_tree python code 2022-12-20 15:52:00 +08:00
57fb315b4a Update AVLTree. 2022-12-18 22:54:42 +08:00
be68420716 Update binary tree. 2022-12-18 15:59:34 +08:00
3d2d978f22 Fix a mistake in the terminology of binary tree. 2022-12-18 15:42:06 +08:00