Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
Loading...
Searching...
No Matches
Trie::TrieNode Struct Reference
Collaboration diagram for Trie::TrieNode:
[legend]

Public Attributes

std::shared_ptr< TrieNodecharacter [ALPHABETS] {nullptr}
 
bool isEndOfWord {false}
 

Detailed Description

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.

Member Data Documentation

◆ character

std::shared_ptr<TrieNode> Trie::TrieNode::character[ALPHABETS] {nullptr}
29{nullptr};

◆ isEndOfWord

bool Trie::TrieNode::isEndOfWord {false}
31{false};

The documentation for this struct was generated from the following file: