Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CBTInserter ¶
type CBTInserter struct { }
*
- Definition for a binary tree node.
- type TreeNode struct {
- Val int
- Left *TreeNode
- Right *TreeNode
- }
func Constructor ¶
func Constructor(root *TreeNode) CBTInserter
func (*CBTInserter) Get_root ¶
func (this *CBTInserter) Get_root() *TreeNode
func (*CBTInserter) Insert ¶
func (this *CBTInserter) Insert(val int) int
Click to show internal directories.
Click to hide internal directories.