摘要: 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 阅读全文
posted @ 2017-10-14 11:57 jasminemzy 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-10-14 11:10 jasminemzy 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-10-14 09:07 jasminemzy 阅读(125) 评论(0) 推荐(0) 编辑