refactor: Replace 结点 with 节点 (#452)

* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
This commit is contained in:
Yudong Jin
2023-04-09 04:32:17 +08:00
committed by GitHub
parent 3f4e32b2b0
commit 1c8b7ef559
395 changed files with 2056 additions and 2056 deletions
+4 -4
View File
@@ -8,10 +8,10 @@
* Definition for a binary tree node.
*/
class TreeNode {
val: number; // 点值
height: number; // 点高度
left: TreeNode | null; // 左子点指针
right: TreeNode | null; // 右子点指针
val: number; // 点值
height: number; // 点高度
left: TreeNode | null; // 左子点指针
right: TreeNode | null; // 右子点指针
constructor(val?: number, height?: number, left?: TreeNode | null, right?: TreeNode | null) {
this.val = val === undefined ? 0 : val;
this.height = height === undefined ? 0 : height;