Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/austingebauer/go-leetcode
/ Constructor
Function
Constructor
implement_trie_208/solution.go:14–18 ·
view source on GitHub ↗
Returns a Trie
()
Source
from the content-addressed store, hash-verified
12
13
// Returns a Trie
14
func
Constructor() Trie {
15
return
Trie{
16
root: &trieNode{},
17
}
18
}
19
20
// Inserts a word into the trie
21
func
(this *Trie) Insert(word string) {
Callers
1
TestTrie
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestTrie
Function · 0.56