Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryTree ¶
type BinaryTree struct {
// contains filtered or unexported fields
}
BinaryTree represents a tree with a left and right subtree.
func Deepest ¶
func Deepest(root *BinaryTree) (*BinaryTree, int)
Deepest returns the deepest node in the binary tree.
Click to show internal directories.
Click to hide internal directories.