- 博客(2)
- 收藏
- 关注
原创 7.3.3 树和二叉树LeetCode题目解析(3)
二叉树这一数据结构十分重要,在此不断补充一些有趣味的题目,不断学习。 623.Add One Row to Tree Given the root of a binary tree, then value vand depth d, you need to add a row of nodes with value vat the given depth d. The root n...
2019-07-31 19:06:26 115
原创 7.4.2 python二叉树路径问题及LeetCode题目解析(2)
下面题目中的路径,定义有所延伸,在解法思路及时间空间复杂度上有所挑战。 437.Path Sum III You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does no...
2019-07-28 21:32:23 360
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人