Documentation
¶
Overview ¶
Package binary contain implementation of binary tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BTNode ¶
type BTNode struct {
// Left branch of node.
Left *BTNode
// Right branch of node.
Right *BTNode
// Parent of node.
Parent *BTNode
// Value of node.
Value interface{}
}
BTNode is a data type for node in binary tree.
Click to show internal directories.
Click to hide internal directories.