二叉树的练习
二叉树的遍历
#include <stdbool.h>
#include <stdio.h>
#include <malloc.h>
typedef struct BiTNode{
int data;
struct BiTNode *lchild,*rchild;
int ltag,rtag;
}BitNode,*BitTree;
//为了能够实现层次遍历所准备的队列
typedef struct Queue{
BitNode * data[20
原创
2021-09-19 16:10:35 ·
56 阅读 ·
0 评论