#include<iostream>#include<cstring>#include<cstdio>using namespace std;const int SIZE = 5000;int g_preOrder[SIZE];int g_preOrderImg[SIZE];int g_postOrder[SIZE];int g_index = 0;struct BSNode{ BSNode *left; BSNode *right; int key;};//在一颗二叉查找树中添加一个节点。isImg为true,则表示生成的//是二叉查找树的镜像;void Read More