從中序與後序遍歷序列構造二叉樹

中序遍歷 inorder = [9,3,15,20,7] 後序遍歷 postorder = [9,15,7,20,3] 返回以下的二叉樹: 3 / \ 9 20 / \ 15 7 來源:力扣(LeetCode) 連接:https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-a
相關文章
相關標籤/搜索