typedef char elemtype;
typedef struct node
{
}BTree;
BTree *create()
{
}
这里需要注意的是:,*p[MaxLen]中的p是一个数组,数组里边存储的是指针,而不是数据,这一点比较重要。
主要思路是:借用数组来存储二叉树,数组里边存的是指向二叉树节点的指针。
typedef char elemtype;
typedef struct node
{
}BTree;
BTree *create()
{
}
这里需要注意的是:,*p[MaxLen]中的p是一个数组,数组里边存储的是指针,而不是数据,这一点比较重要。
主要思路是:借用数组来存储二叉树,数组里边存的是指向二叉树节点的指针。