Update binary_tree.md
This commit is contained in:
parent
003dcc56f4
commit
f1ba6c679c
@ -68,8 +68,7 @@ comments: true
|
|||||||
this.val = (val === undefined ? 0 : val) // 结点值
|
this.val = (val === undefined ? 0 : val) // 结点值
|
||||||
this.left = (left === undefined ? null : left) // 左子结点指针
|
this.left = (left === undefined ? null : left) // 左子结点指针
|
||||||
this.right = (right === undefined ? null : right) // 右子结点指针
|
this.right = (right === undefined ? null : right) // 右子结点指针
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "TypeScript"
|
=== "TypeScript"
|
||||||
|
Loading…
Reference in New Issue
Block a user