leedcode题集:559. Maximum Depth of N-ary Tree

最近开始刷leedcode,博客以作记录。 第一天:559. Maximum Depth of N-ary Tree 给定树的数据结构定义: /* // Definition for a Node. class Node { public: int val; vector<Node*> children; Node() {} Node(int _val, vec
相关文章
相关标签/搜索