Documentation
¶
Index ¶
Constants ¶
View Source
const ( EmptyNodeMark = "null" Separator = "," )
EmptyNodeMark is used to mark empty node in serialized string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeQueue ¶
type NodeQueue []*TreeNode
NodeQueue is a simple queue of TreeNode pointers
type TreeNode ¶
TreeNode binary tree node representation with Int value
func NewTreeNode ¶
NewTreeNode deserializes raw data and creates a new TreeNode
Click to show internal directories.
Click to hide internal directories.