tree

package
v0.0.0-...-9c837d5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: GPL-3.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 Node

type Node struct {
	Value       int
	Left, Right *Node
}

func CreateNode

func CreateNode(value int) *Node

func (Node) Print

func (node Node) Print()

func (*Node) SetValue

func (node *Node) SetValue(value int)

func (*Node) Traverse

func (node *Node) Traverse()

func (*Node) TraverseFunc

func (node *Node) TraverseFunc(f func(*Node))

func (*Node) TraverseWithChannel

func (node *Node) TraverseWithChannel() chan *Node

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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