![]() |
implement-trie-prefix-tree 1.0.0
Implement Trie (Prefix Tree)
|
#include <bits/stdc++.h>
Go to the source code of this file.
Data Structures | |
| class | trie_node |
| Definition for trie tree node. More... | |
| class | Trie |
Functions | |
| int | main () |
| Your Trie object will be instantiated and called as such: Trie* obj = new Trie(); obj->insert(word); bool param_2 = obj->search(word); bool param_3 = obj->startsWith(prefix);. | |
| int main | ( | ) |
Your Trie object will be instantiated and called as such: Trie* obj = new Trie(); obj->insert(word); bool param_2 = obj->search(word); bool param_3 = obj->startsWith(prefix);.
Definition at line 108 of file main.cpp.