从中序与后序遍历序列构造二叉树

题目 题目来源 : LeetCode web 实现 struct TreeNode* _buildTree(int* inorder, int* postorder, int* curindex, int begin, int end){ //建立根节点 struct TreeNode* root = (struct TreeNode*)malloc(sizeof(struct T
相关文章
相关标签/搜索