递归,模拟由中序序列和先序序列生成二叉树以及后序遍历二叉树
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
//后序遍历
//pre先序序列,mid后序序列
//start中序序列起始位置,end中序序列终止位置
//根结点在先序序列中的位置
void PostorderTraversal(char *pre, char *mid, int start, int end, int *p)
{
c...