【leetcode】Python实现-101.对称二叉树

101.对称二叉树 描述 我。。。看了别人的跌跌爬爬写出来的。。。python def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """ def f(p, q): if p == None: return q == None
相关文章
相关标签/搜索