leetcode429-N 叉树的层序遍历
摘要:
429. N 叉树的层序遍历 BFS非递归,自己写的。 /* // Definition for a Node. class Node { public: int val; vector<Node*> children; Node() {} Node(int _val) { val = _val; 阅读全文
posted @ 2022-10-31 16:40 ᶜʸᵃⁿ 阅读(10) 评论(0) 推荐(0) 编辑