tree

package
v0.0.0-...-11ada09 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TNode

type TNode struct {
	Left  *TNode
	Value int
	Right *TNode
}

func New

func New(k int) *TNode

New returns a new, random binary tree holding the values k, 2k, ..., 10k

func (*TNode) String

func (t *TNode) String() string

Jump to

Keyboard shortcuts

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