PrefixTree

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrefixTree

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

func NewPrefixTree

func NewPrefixTree() *PrefixTree

NewPrefixTree 生成前缀树

func (*PrefixTree) Insert

func (t *PrefixTree) Insert(k, v string)

func (*PrefixTree) Search

func (t *PrefixTree) Search(k string) []string

Jump to

Keyboard shortcuts

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