摘要: 在收LeetCode 的113. Path Sum II题目时,参考网络上的一个解答,源码如下class Solution: def pathSum(self, root: TreeNode, sum: int) -> List[List[int]]: def dfs(root, s, path, res): if root: path.... 阅读全文
posted @ 2019-08-06 15:09 YorkYu 阅读(250) 评论(0) 推荐(0) 编辑