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 }
BinaryTree is a generic type buildt on top of a slice
func (*BinaryTree[T]) Insert ¶
func (tt *BinaryTree[T]) Insert(item T)
func (BinaryTree[T]) IsEmpty ¶
func (tt BinaryTree[T]) IsEmpty() bool
IsEmpty will return true if the binary-tree is empty
Click to show internal directories.
Click to hide internal directories.