Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ trie
Method
trie
code/strings/trie.cpp:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
node() { prefixes = words = 0; } };
7
node* root;
8
trie() : root(new node()) { }
9
template <class I>
10
void insert(I begin, I end) {
11
node* cur = root;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected