bst

package
v0.0.0-...-c3db47b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BST

type BST struct {
	// contains filtered or unexported fields
}

func (*BST) InOrder

func (bst *BST) InOrder(root *Node)

func (*BST) InsertNode

func (bst *BST) InsertNode(d int) bool

func (*BST) PostOrder

func (bst *BST) PostOrder(root *Node)

func (*BST) PreOrder

func (bst *BST) PreOrder(root *Node)

func (*BST) Root

func (bst *BST) Root() *Node

type Node

type Node struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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