C语言实现 #include <stdlib.h> #include <assert.h> typedef struct BinTree{ char data; struct BinTree *left; struct BinTree *right; }BinTree; typedef struct BinTree *BTree; BTree CreateTree(const char *s,int *i) { if(s[*i]=='#' || s[*i]=='\0') return NULL; else{ ...