Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryTree ¶
type BinaryTree[T constraints.Ordered] struct { // contains filtered or unexported fields }
func (*BinaryTree[T]) Insert ¶
func (t *BinaryTree[T]) Insert(data T)
func (*BinaryTree[T]) TraverseAsc ¶
func (t *BinaryTree[T]) TraverseAsc(callback func(d T))
type Node ¶
type Node[T constraints.Ordered] struct { Data T // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.