- 学习日志
typedef struct node
{telemtype data ;
struct node lch,rch;
}bin,*bit;
//二叉链表定义void xxbl(bit root)
{if(root==NULL)
return ;
else
{ visit(root->data);
xxbl(root->lch);
xxbl(root->rch);
}
}
//先序遍历
2023-12-02 14:07:40
typedef struct node
{telemtype data ;
struct node lch,rch;
}bin,*bit;
//二叉链表定义void xxbl(bit root)
{if(root==NULL)
return ;
else
{ visit(root->data);
xxbl(root->lch);
xxbl(root->rch);
}
}
//先序遍历