Update the chapter tree.

This commit is contained in:
Yudong Jin
2022-12-27 19:42:39 +08:00
parent d03980e185
commit 466fdd494b
2 changed files with 5 additions and 13 deletions

View File

@@ -44,13 +44,13 @@ comments: true
=== "Go"
```go title=""
""" 链表结点类 """
// 链表结点类
type TreeNode struct {
Val int
Left *TreeNode
Right *TreeNode
}
""" 结点初始化方法 """
// 结点初始化方法
func NewTreeNode(v int) *TreeNode {
return &TreeNode{
Left: nil,