#include<stdio.h>typedefstructNode{intdata;structNode*lchild;structNode*rchild;}Node;//使用数组存放数据,注意是按照一层一层的排列,-1代表为空intarray[] = {1,2,3,4,5,6,7};//构建二叉树voidcreateTree(Node **node,intindex){if(index <= (sizeof(array)/sizeof(int)) ){if(array[index-1...