swaaaay
swaaaay
全部文章
题解
未归档(36)
归档
标签
去牛客网
登录
/
注册
swaaaay的博客
全部文章
/ 题解
(共1篇)
题解 | #二叉树中和为某一值的路径(一)#
来自专栏
python递归 class Solution: def hasPathSum(self , root: TreeNode, sum: int) -> bool: # write code here if not root: return False ...
Python3
二叉树
递归
2021-11-08
0
349