摘要:
Given a tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left child and o 阅读全文
posted @ 2018-12-30 09:43
fatttcat
阅读(143)
评论(0)
推荐(0)
摘要:
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. 阅读全文
posted @ 2018-12-30 09:14
fatttcat
阅读(205)
评论(0)
推荐(0)
摘要:
Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the roo 阅读全文
posted @ 2018-12-30 08:28
fatttcat
阅读(120)
评论(0)
推荐(0)
摘要:
Consider all the leaves of a binary tree. From left to right order, the values of those leaves form a leaf value sequence. For example, in the given t 阅读全文
posted @ 2018-12-30 07:32
fatttcat
阅读(158)
评论(0)
推荐(0)
浙公网安备 33010602011771号