Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node[T constraints.Ordered] struct { Value T Color Color Parent, Left, Right *Node[T] }
func NewNode ¶
func NewNode[T constraints.Ordered](value T) *Node[T]
type Tree ¶
type Tree[T constraints.Ordered] struct { Root *Node[T] }
func NewTree ¶
func NewTree[T constraints.Ordered]() *Tree[T]
Click to show internal directories.
Click to hide internal directories.