摘要: 这次的简单题还真的挺简单的 其实就是比较简单的递归,不过可能得看一下迭代的方式怎么实现。 class Solution { public TreeNode mirrorTree(TreeNode root) { if(root==null) {return null;} TreeNode resul 阅读全文
posted @ 2021-01-12 16:22 将来的事 阅读(51) 评论(0) 推荐(0)