Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessNodesByLayer ¶
AccessNodesByLayer Function that access nodes layer by layer instead of printing the results as one line.
func InOrder ¶
func InOrder(n *Node)
InOrder add's children to a node in order left first then right recursively
Types ¶
type BTree ¶
type BTree struct {
Root *Node
}
BTree Returns a binary tree structure which contains only a root Node
Click to show internal directories.
Click to hide internal directories.