数据结构实验题
Edi.
这个作者很懒,什么都没留下…
展开
-
数据结构 顺序表各种基本运算的实现
数据结构 顺序表各种基本运算的实现 #include<stdio.h> #include<stdlib.h> #define MaxSize 10 typedef struct { char data[MaxSize]; int length; }SqList; void InitList(SqList * &L) //初始化线性表...原创 2018-12-27 23:39:14 · 1033 阅读 · 0 评论 -
数据结构 单链表各种运算的实现
数据结构 单链表各种运算的实现 #include<stdio.h> #include<stdlib.h> typedef struct LNode { char data; struct LNode * next; }LinkList; void InitList(LinkList *&L) //初始化,建立一个空的单链表 { L = (LinkList ...原创 2018-12-27 23:41:07 · 616 阅读 · 0 评论 -
数据结构 二叉树各种基本运算的实现
数据结构 二叉树各种基本运算的实现 #include<stdio.h> #include<stdlib.h> #define MaxSize 100; int Width[10] = { 0 }; int yezi = 0; typedef struct node { char data; struct node *lchild; struct node *rchild; ...原创 2018-12-27 23:42:46 · 2745 阅读 · 0 评论 -
数据结构 图的部分基本算法实现
数据结构 图的部分基本算法实现 #include<stdio.h> #include<stdlib.h> #define MAXV 100 #define INF 32767 int visited[100] = { 0 }; typedef struct { int no; int info; }VertexType; typedef struct { int edges...原创 2018-12-27 23:44:04 · 220 阅读 · 0 评论