mirror of
https://github.com/dholerobin/Lecture_Notes.git
synced 2025-03-15 13:49:59 +00:00
Update Trie.md
This commit is contained in:
parent
e5fe2c4725
commit
f7bea0e794
@ -32,10 +32,11 @@ struct trie_node
|
||||
vector<trie_node*> links;
|
||||
bool isEndofString;
|
||||
|
||||
trie_node(bool end = false)
|
||||
// Constructor
|
||||
trie_node()
|
||||
{
|
||||
links.assign(alphabet_size, nullptr);
|
||||
isEndofString = end;
|
||||
isEndofString = false;
|
||||
}
|
||||
};
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user