tree

package
v0.0.0-...-cca584c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL