摘要: https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ 这个题的思想其实很容易理解,我们的前序遍历数组中,第一个元素肯定是当前这棵树的根节点,然后我们再中序遍历中找到这个根 阅读全文
posted @ 2020-05-22 10:23 ZJPang 阅读(99) 评论(0) 推荐(0) 编辑