摘要: 题目描述: 方法一:递归: class Solution: def isSymmetric(self, root: TreeNode) -> bool: if not root: return True def Tree(p, q): if not p and not q: return True 阅读全文
posted @ 2019-03-20 14:43 oldby 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 第一次提交: class Solution(object): def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ a = 0 b = 阅读全文
posted @ 2019-03-20 08:25 oldby 阅读(147) 评论(0) 推荐(0) 编辑