1. 首页
  2. 数据库
  3. 其它
  4. 【leetcode】【medium】113. Path Sum II

【leetcode】【medium】113. Path Sum II

上传者: 2021-01-16 07:30:43上传 PDF文件 28.4KB 热度 29次
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:
下载地址
用户评论