摘要:
#define MAX 100typedef struct node { char info; struct node *llink,*rlink;}TNODE;char pred[MAX],inod[MAX];TNODE *restore(char *,char *,int);int main(int argc,char **argv){ TNODE *root; if (argc<3) exit(0); strcpy(pred,argv[1]); strcpy(inod,argv[2]); root=restore(pred,inod,strlen(pred)); postorder 阅读全文