摘要: class Solution { public: vector<int>p; void dfs(Node* root) { if(root==nullptr) return ; if (root->children.size() == 0){ p.push_back(root->val); retu 阅读全文
posted @ 2020-11-08 20:37 知道了呀~ 阅读(235) 评论(0) 推荐(0) 编辑