problemscpp
A collection of my answers to algorithm problems in c++.
|
字典树节点 更多...
#include <templates.h>
Public 成员函数 | |
TrieNode (char ch) | |
~TrieNode () | |
void | insert (const string &str) |
Public 属性 | |
char | ch |
unsigned | count = 0 |
bool | end_of_word = false |
array< TrieNode *, 26 > | nexts = {} |
字典树节点
在文件 templates.h 第 9 行定义.
|
inlineexplicit |
TrieNode::~TrieNode | ( | ) |
void TrieNode::insert | ( | const string & | str | ) |
char TrieNode::ch |
在文件 templates.h 第 10 行定义.
unsigned TrieNode::count = 0 |
在文件 templates.h 第 13 行定义.
bool TrieNode::end_of_word = false |
在文件 templates.h 第 12 行定义.
array<TrieNode *, 26> TrieNode::nexts = {} |
在文件 templates.h 第 11 行定义.
被这些函数引用 ~TrieNode(), leetcode::longest_word_in_dictionary::Solution::dfs(), insert() , 以及 leetcode::word_break::Solution::search().