![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构与算法
似水流年@999
不够优秀,何以拥有
展开
-
二叉树的创建及其相关操作
二叉树的创建及其相关操作 #include<stdio.h> #include"malloc.h" #define N 1000 typedef char DataType; typedef struct bnode{ DataType data; struct bnode * lchild, *rchild; } Bnode,*BTree; /*******二叉树的创建***...原创 2019-07-07 21:40:52 · 253 阅读 · 0 评论 -
二叉树的应用
二叉树的应用 #include<stdio.h> #include"malloc.h" #define N 1000 typedef char DataType; typedef struct bnode{ DataType data; struct bnode * lchild, *rchild; } Bnode,*BTree; /*******二叉树的创建*********...原创 2019-07-07 22:44:18 · 139 阅读 · 0 评论 -
1.数据结构一之线性表之顺序表的基本运算
1. 结构封装 #include "stdio.h" #include "malloc.h" #define MAXSIZE 100 typedef int DataType; typedef struct node { DataType data[MAXSIZE]; int length; } SeqList, * PSeqList; 现在Seqlist已经被定义为一个复杂...原创 2019-07-28 18:40:08 · 483 阅读 · 0 评论