摘要:
#include #include void build(int n,char*s1,char*s2) { if(n<=0)return ; int p=strchr(s2,s1[0])-s2;///p表示左结点的个数 build(p,s1+1,s2);///查找左结点 build(n-p-1,s1+p+1,s2+p+1);///查找右结点 printf(... 阅读全文
posted @ 2017-08-02 15:32
sapphirebitter
阅读(119)
评论(0)
推荐(0)
浙公网安备 33010602011771号