Skip to main content

Node

Internal trie node.

Public Attributes

ReturnNameDescription
std::unordered_map< char, std::unique_ptr< Node > >chChildren nodes keyed by character.
boolis_endWhether this node marks end of a word.

ch

std::unordered_map< char, std::unique_ptr< Node > > ch
Children nodes keyed by character.

is_end

bool is_end = false
Whether this node marks end of a word.