摘要: 如果使用动态创建二叉树需要使用递归,故使用静态的方式创建二叉树 代码如下: //链式二叉树 ///使用静态创建二叉树 #include<stdio.h> #include<malloc.h> //定义 二叉树的数据结构 typedef struct binaryTree{ char value;// 阅读全文
posted @ 2023-09-26 20:11 一往而深, 阅读(6) 评论(0) 推荐(0) 编辑