摘要:
给出先序中序求后序;先找到根节点;#include<cstdio>
#include<cmath>
#include<cstdlib>
#include<algorithm>
using namespace std;
void build_tree(int n,int *a,int *b,int *c)
{ int *p=b; if(n<=0) return; while(2) { if(a[0]==*p) { break; }else p++; } int t... 阅读全文
posted @ 2012-05-03 15:38
Hibernate4
阅读(455)
评论(0)
推荐(0)

浙公网安备 33010602011771号