#include <leetcode.h>
◆ TreeNode()
leetcode::count_nodes_with_the_highest_score::TreeNode::TreeNode |
( |
int |
val | ) |
|
|
inlineexplicit |
◆ add_child()
void leetcode::count_nodes_with_the_highest_score::TreeNode::add_child |
( |
TreeNode * |
node | ) |
|
◆ dfs()
int leetcode::count_nodes_with_the_highest_score::TreeNode::dfs |
( |
| ) |
|
◆ get_children()
const vector< TreeNode * > & leetcode::count_nodes_with_the_highest_score::TreeNode::get_children |
( |
| ) |
const |
◆ get_count()
int leetcode::count_nodes_with_the_highest_score::TreeNode::get_count |
( |
| ) |
const |
◆ get_parent()
TreeNode * leetcode::count_nodes_with_the_highest_score::TreeNode::get_parent |
( |
| ) |
const |
◆ children
vector<TreeNode *> leetcode::count_nodes_with_the_highest_score::TreeNode::children |
|
private |
◆ count
int leetcode::count_nodes_with_the_highest_score::TreeNode::count = 0 |
|
private |
◆ parent
TreeNode* leetcode::count_nodes_with_the_highest_score::TreeNode::parent = nullptr |
|
private |
◆ val
int leetcode::count_nodes_with_the_highest_score::TreeNode::val |
|
private |
该类的文档由以下文件生成: