Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
type Tree struct {
Root *Node
}
Tree wrap the node structure
func (*Tree) VisitInOrder ¶
VisitInOrder is delegated to traverse the Tree in order
func (*Tree) VisitPostOrder ¶
VisitPostOrder is delegated to traverse the Tree in post order
func (*Tree) VisitPreOrder ¶
VisitPreOrder is delegated to traverse the Tree in pre-order
Click to show internal directories.
Click to hide internal directories.