Insert zero, one or more words at a Trie node.
(s ...string)
| 34 | |
| 35 | // Insert zero, one or more words at a Trie node. |
| 36 | func (n *Node) Insert(s ...string) { |
| 37 | for _, ss := range s { |
| 38 | n.insert(ss) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Find words at a Trie node. |
| 43 | func (n *Node) Find(s string) bool { |