【LeetCode】 40 从前序与后序遍历序列构造二叉树

牛客LC44题
https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal/solution/gen-ju-qian-xu-he-hou-xu-bian-li-gou-zao-er-cha-sh/

理解了递归的思路
思路和代码直接看原文吧

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×