mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 15:29:53 +08:00
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:
@@ -9,10 +9,10 @@ import (
|
||||
)
|
||||
|
||||
type TreeNode struct {
|
||||
Val int // 结点值
|
||||
Height int // 结点高度
|
||||
Left *TreeNode // 左子结点引用
|
||||
Right *TreeNode // 右子结点引用
|
||||
Val int // 节点值
|
||||
Height int // 节点高度
|
||||
Left *TreeNode // 左子节点引用
|
||||
Right *TreeNode // 右子节点引用
|
||||
}
|
||||
|
||||
func NewTreeNode(v int) *TreeNode {
|
||||
|
||||
Reference in New Issue
Block a user