trie

package
v0.0.0-...-b071cee Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 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 Trie

type Trie struct {
	Data      rune
	Children  []*Trie
	IsEndChar bool
}

func NewTrie

func NewTrie() *Trie

func (*Trie) Find

func (t *Trie) Find(pattern string) bool

func (*Trie) Insert

func (t *Trie) Insert(str string)

Jump to

Keyboard shortcuts

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