原文:[LeetCode] 105. Construct Binary Tree from Preorder and Inorder Traversal 由先序和中序遍历建立二叉树

Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, given Return the following binary tree: 这道题要求用先序和 ...

2015-02-20 13:52 5 13467 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM