BST

package
v0.0.0-...-adc727d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 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 BST

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

func Constructor

func Constructor() *BST

func (*BST) Add

func (this *BST) Add(e interface{})

向二分搜索树中添加新的元素e

func (*BST) GetSize

func (this *BST) GetSize() int

func (*BST) IsEmpty

func (this *BST) IsEmpty() bool

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