Documentation ¶
Index ¶
- type TreeNode
- func (root *TreeNode) GetTreeDegree() int
- func (root *TreeNode) GetTreeNodeNum() int
- func (root *TreeNode) InsertTreeNode(value int)
- func (root *TreeNode) LevelOrderTraverse()
- func (root *TreeNode) MidOrderTraverse()
- func (root *TreeNode) PostOrderTraverse()
- func (root *TreeNode) PreOrderTraverse()
- func (root *TreeNode) Search(value int) *TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeNode ¶
func CreateTreeNode ¶
func (*TreeNode) GetTreeDegree ¶
func (*TreeNode) GetTreeNodeNum ¶
func (*TreeNode) InsertTreeNode ¶
func (*TreeNode) LevelOrderTraverse ¶
func (root *TreeNode) LevelOrderTraverse()
func (*TreeNode) MidOrderTraverse ¶
func (root *TreeNode) MidOrderTraverse()
func (*TreeNode) PostOrderTraverse ¶
func (root *TreeNode) PostOrderTraverse()
func (*TreeNode) PreOrderTraverse ¶
func (root *TreeNode) PreOrderTraverse()
Click to show internal directories.
Click to hide internal directories.