摘要:
题目: Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: click to show hints. Hints: If y 阅读全文
posted @ 2017-05-09 10:51
panini
阅读(180)
评论(0)
推荐(0)
摘要:
DescriptionGiven a binary tree, find the subtree with maximum average. Return the root of the subtree.NoticeLintCode will print the subtree which root 阅读全文
posted @ 2017-05-09 06:21
panini
阅读(2006)
评论(0)
推荐(0)
摘要:
DescriptionGiven a binary tree, find the subtree with minimum sum. Return the root of the subtree.NoticeLintCode will print the subtree which root is 阅读全文
posted @ 2017-05-09 06:18
panini
阅读(782)
评论(0)
推荐(0)
摘要:
题目: Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to 阅读全文
posted @ 2017-05-09 06:06
panini
阅读(166)
评论(0)
推荐(0)
浙公网安备 33010602011771号