二叉树,二叉树学习笔记
一 二叉树的概念,建立,遍历,求深度 实例程序 Technorati 标签: #include #include typedef struct tree { char data,struct tree* tleft,struct tree* tright,}*TREE,static int num = 0,TREE creattree(TREE &H) { char da,printf("inpu... [阅读全文]
平衡二叉树: 二叉树
#includemalloc.h
#define NULL 0
#includestdio.h
struct jd
{
int data;
struct jd *left;
struct jd *right;
};
int n;
void front(struct jd *p)
{
if(p!=NULL)
{
printf("%d",p-data);
front(p-left);
... [阅读全文]
1 共1条 分1页