Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecursiveInOrder ¶
func RecursiveInOrder[T comparable](root *Node[T]) iter.Seq[T]
func RecursivePostOrder ¶
func RecursivePostOrder[T comparable](root *Node[T]) iter.Seq[T]
func RecursivePreOrder ¶
func RecursivePreOrder[T comparable](root *Node[T]) iter.Seq[T]
Types ¶
type Node ¶
type Node[T comparable] struct { // contains filtered or unexported fields }
func NewNode ¶
func NewNode[T comparable](value T) *Node[T]
type Tree ¶
type Tree[T comparable] struct { // contains filtered or unexported fields }
func (*Tree[T]) SetTraverser ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.