Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ Trie
Method
Trie
CPP/Tries/implementTrie.cpp:29–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
public:
29
Trie() {
30
root = new Node(
'\0'
);
31
}
32
33
void insert(string word) {
34
Node* curr = root;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected