Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnimplemented = errors.New("unimplemented")
Functions ¶
This section is empty.
Types ¶
type AVLTree ¶
type AVLTree[T constraints.Ordered] struct { *BaseTree[T] }
func NewAVLTree ¶
func NewAVLTree[T constraints.Ordered]() *AVLTree[T]
type BaseTree ¶
type BaseTree[T constraints.Ordered] struct { // contains filtered or unexported fields }
func NewBaseTree ¶
func NewBaseTree[T constraints.Ordered]() *BaseTree[T]
type Node ¶
type Node[T constraints.Ordered] struct { // contains filtered or unexported fields }
func NewNode ¶
func NewNode[T constraints.Ordered](data T) *Node[T]
type RBTree ¶
type RBTree[T constraints.Ordered] struct { *BaseTree[T] }
func NewRBTree ¶
func NewRBTree[T constraints.Ordered]() *RBTree[T]
Click to show internal directories.
Click to hide internal directories.