Title
摘要: 题目大意 给定一颗二叉树,判断是否对称 解题思路 将其中一个子树镜像翻转,再判断左右子树相不相等即可。镜像翻转示意图如下: code /** * Definition for a binary tree node. * public class TreeNode { * int val; * Tre 阅读全文
posted @ 2023-03-05 12:38 唔芜舞雾 阅读(14) 评论(0) 推荐(0) 编辑