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
相關文章
相關標籤/搜索