目录

力扣666. 路径和 IV

力扣666. Path Sum IV(路径和 IV)

计算路径和。会员题。

示例 1:

../posts/01_学习/87_LeetCode/0666_路径和IV/img/0666-1-description.png

输入:[113, 215, 221]
输出:12

提示:

  • 1 <= nums.length <= 15
  • 100 <= nums[i] <= 499
  • nums 中不包含重复的节点标识