摘要: 题目描述 LeetCode 三道 Path Sum 的题目,给定一棵二叉树和一个路径和targetSum,分别求问: LeetCode 112. Path Sum 满足条件的从root到leaf的路径是否存在; LeetCode 113. Path Sum II 满足条件的从root到leaf的路径 阅读全文
posted @ 2021-01-31 13:31 与MPI做斗争 阅读(47) 评论(0) 推荐(0) 编辑