#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
posted @ 2012-11-26 22:06 Frank@609 Views(876) Comments(0) Diggs(0) Edit