Documentation ¶
Overview ¶
package trie
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trie ¶
type Trie struct {
// contains filtered or unexported fields
}
Trie implements an append-only trie for ascii strings
func (*Trie) NumPrefixed ¶
Get the number of strings in the trie prefixed with s
func (*Trie) NumPrefixedOfLength ¶
Get the number of strings in the trie prefixed with s with length N
func (*Trie) TotalOfLength ¶
Get the number of strings in the trie of length n
Click to show internal directories.
Click to hide internal directories.