TrieNode is the trie node structure in Trie.
ptrhas a single parameter new_ptr that accepts a new pointer to a TrieNode. It returns invisible(NULL)
new()TrieNode$new(idx = NULL)idxan integer. Node index
TrieNode
max_score()TrieNode$max_score()the node max score
clone()The objects of this class are cloneable with this method.
TrieNode$clone(deep = FALSE)deepWhether to make a deep clone.