摘要:
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree andsum =... 阅读全文
posted @ 2014-05-12 23:33
一弦一仙
阅读(125)
评论(0)
推荐(0)
摘要:
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.public class S... 阅读全文
posted @ 2014-05-12 00:26
一弦一仙
阅读(148)
评论(0)
推荐(0)
摘要:
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.public class So... 阅读全文
posted @ 2014-05-12 00:06
一弦一仙
阅读(160)
评论(0)
推荐(0)

浙公网安备 33010602011771号