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