2015年1月9日

[leetcode] Construct Binary Tree from Preorder and Inorder Traversal

摘要: Construct Binary Tree from Preorder and Inorder TraversalGiven preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume... 阅读全文

posted @ 2015-01-09 17:49 cha1992 阅读(106) 评论(0) 推荐(0) 编辑

[leetcode] Construct Binary Tree from Inorder and Postorder Traversal

摘要: Construct Binary Tree from Inorder and Postorder TraversalGiven inorder and postorder traversal of a tree, construct the binary tree.Note:You may assu... 阅读全文

posted @ 2015-01-09 15:18 cha1992 阅读(147) 评论(0) 推荐(0) 编辑

导航