Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
Node is a node in the tree, having a parent pointer.
func CreateBinarySearchTree ¶
CreateBinarySearchTree creates a balanced binary search tree, given the sorted values. Returns the root node.
func CreateRandomTree ¶
CreateRandomTree creates a random tree with a maximum Depth.