#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> typedef struct tree { char string; struct tree* left; struct tree* right; }treeNode; treeNode* CreatTree(char* str,int* pi) { if(str[(*pi)]=='#') { (*pi)++; re...