- 博客(2)
- 收藏
- 关注
原创 二叉树的创建和先/中/后序遍历等基本操作
二叉树的创建 typedef struct BiTNode { char data; struct BiTNode *lchild, *rchild; }BiTNode, *BiTree; void CreateBiTree(BiTree* T) { char ch; ch = getchar(); if (ch == '#') *T = NULL; else { *T = (BiTNode*)malloc(sizeof(BiTNode)); if (NULL == *T)..
2022-04-27 21:03:52
1619
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人