problemscpp
A collection of my answers to algorithm problems in c++.
|
字典树 更多...
#include <acwing.h>
Public 成员函数 | |
trie_node (int val, trie_node *father) | |
int | count () |
分支计数 更多... | |
void | display () |
显示 更多... | |
void | insert (string str) |
反向插入 更多... | |
Public 属性 | |
trie_node * | father |
父节点 更多... | |
trie_node * | nexts [10] {} |
子节点 更多... | |
int | val |
值 更多... | |
int acwing::acwing4208::trie_node::count | ( | ) |
void acwing::acwing4208::trie_node::display | ( | ) |
void acwing::acwing4208::trie_node::insert | ( | string | str | ) |
反向插入
str | 插入的字符串 |
在文件 acwing.cpp 第 726 行定义.
引用了 trie_node(), insert() , 以及 nexts.
被这些函数引用 insert().
trie_node* acwing::acwing4208::trie_node::nexts[10] {} |