leetcode -- Construct Binary Tree from Preorder and Inorder Traversal

来源:互联网 发布:网络安全法 外资企业 编辑:程序博客网 时间:2024/05/16 09:58

https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/

follow 上一题的思路。但是要避免MLE.

参考http://blog.hushlight.com/2015/02/leetcode-construct-binary-tree-preorder-inorder-traversal/

0 0