摘要:
Given a binary tree, find all paths that sum of the nodes in the path equals to a given number target. A valid path is from root node to any of the le 阅读全文
摘要:
It's follow up problem for Binary Tree Longest Consecutive Sequence II Given a k-ary tree, find the length of the longest consecutive sequence path.Th 阅读全文
摘要:
Given a binary tree, find the length of the longest consecutive sequence path.The path could be start and end at any node in the tree Example 1 / \ 2 阅读全文