摘要: 根据一棵树的前序遍历与中序遍历构造二叉树。 注意: 你可以假设树中没有重复的元素。 例如,给出 返回如下的二叉树: 来源:力扣(LeetCode) 链接:https://leetcode cn.com/problems/construct binary tree from preorder and 阅读全文
posted @ 2020-05-22 09:37 菁芜 阅读(123) 评论(0) 推荐(0) 编辑