mirror of
https://github.com/dholerobin/Lecture_Notes.git
synced 2025-09-13 13:52:12 +00:00
Update Trie.md
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
```
|
||||
|
Reference in New Issue
Block a user