Documentation
¶
Overview ¶
Package Trie implements a simple trie data structure for storing dictionary with strings. Source: https://youtu.be/H-6-8_p88r0 (JamieGo)
Index ¶
Constants ¶
View Source
const AlphabetSize = 26
AlphabetSize is the number of possible characters in the trie
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Children [AlphabetSize]*Node
// contains filtered or unexported fields
}
Node represents a node in the trie
Click to show internal directories.
Click to hide internal directories.