TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Public Attributes | |
std::shared_ptr< TrieNode > | character [ALPHABETS] {nullptr} |
bool | isEndOfWord {false} |
Structure of trie node. This struct doesn't need a constructor as we are initializing using intializer list which is more efficient than if we had done so with constructor.
Definition at line 26 of file trie_modern.cpp.
std::shared_ptr<TrieNode> Trie::TrieNode::character[ALPHABETS] {nullptr} |
Definition at line 29 of file trie_modern.cpp.
bool Trie::TrieNode::isEndOfWord {false} |
Definition at line 31 of file trie_modern.cpp.