Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MagicDictionary ¶
type MagicDictionary struct {
// contains filtered or unexported fields
}
func (*MagicDictionary) BuildDict ¶
func (this *MagicDictionary) BuildDict(dict []string)
* Build a dictionary through a list of words
func (*MagicDictionary) Search ¶
func (this *MagicDictionary) Search(word string) bool
* Returns if there is any word in the trie that equals to the given word after modifying exactly one character
Click to show internal directories.
Click to hide internal directories.