标签:null class return code nbsp roo ror mirror span
TreeNode mirrorTreeNode(TreeNode root){ if(root == null){ return null; } TreeNode left = mirrorTreeNode(root.left); TreeNode right = mirrorTreeNode(root.right); root.left = right; root.right = left; return root; }
标签:null class return code nbsp roo ror mirror span
原文地址:https://www.cnblogs.com/yingpu/p/9287194.html