【leetcode】【medium】113. Path Sum II

上传:zhangfan91825 浏览: 22 推荐: 0 文件:PDF 大小:28.4KB 上传时间:2021-01-16 07:30:43 版权申诉
113. Path Sum II Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum. Note: A leaf is a node with no children. Example: Given the below binary tree and sum = 22, 5 / \ 4 8 / / \ 11 13 4 / \ / \ 7 2 5 1 Return:
上传资源
用户评论