摘要: 很简单,一下子就写出来了,递归 class Solution { public: TreeNode* mergeTrees(TreeNode* root1, TreeNode* root2) { if(root1==nullptr){ return root2; } if(root2==nullpt 阅读全文
posted @ 2022-06-26 23:19 YaosGHC 阅读(24) 评论(0) 推荐(0)