摘要: class Solution: def hasPathSum(self, root: TreeNode, sum: int) -> bool: if not root: return False if not root.left and not root.right and sum - root.v 阅读全文
posted @ 2019-11-17 22:24 欣姐姐 阅读(117) 评论(0) 推荐(0) 编辑