binaryTree

package
v0.0.0-...-73e22f4 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 0 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 struct {
	// contains filtered or unexported fields
}

func New

func New(compareFun Comparable) *BinaryTree

func (*BinaryTree) Insert

func (tree *BinaryTree) Insert(value interface{})

func (*BinaryTree) Search

func (tree *BinaryTree) Search(value interface{}) *BinaryTree

type Comparable

type Comparable func(c1 interface{}, c2 interface{}) bool

Jump to

Keyboard shortcuts

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