摘要:
97. Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the 阅读全文
posted @ 2019-04-06 16:12
IreneZh
阅读(158)
评论(0)
推荐(0)
摘要:
175. Invert Binary Tree Invert a binary tree. Example Example 1: Input: {1,3,#} Output: {1,#,3} Explanation: 1 1 / => \ 3 3 Example 2: Input: {1,2,3,# 阅读全文
posted @ 2019-04-06 15:14
IreneZh
阅读(120)
评论(0)
推荐(0)
摘要:
469. Same Tree Check if two binary trees are identical. Identical means the two binary trees have the same structure and every identical position has 阅读全文
posted @ 2019-04-06 14:42
IreneZh
阅读(138)
评论(0)
推荐(0)
摘要:
480. Binary Tree Paths Given a binary tree, return all root-to-leaf paths. Given a binary tree, return all root-to-leaf paths. Given a binary tree, re 阅读全文
posted @ 2019-04-06 14:27
IreneZh
阅读(151)
评论(0)
推荐(0)
摘要:
481. Binary Tree Leaf Sum Given a binary tree, calculate the sum of leaves. Given a binary tree, calculate the sum of leaves. Given a binary tree, cal 阅读全文
posted @ 2019-04-06 13:08
IreneZh
阅读(127)
评论(0)
推荐(0)
摘要:
482. Binary Tree Level Sum Given a binary tree and an integer which is the depth of the target level. Calculate the sum of the nodes in the target lev 阅读全文
posted @ 2019-04-06 12:54
IreneZh
阅读(155)
评论(0)
推荐(0)

浙公网安备 33010602011771号