![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
大话数据结构
qq_36054740
这个作者很懒,什么都没留下…
展开
-
《大话数据结构》第六章 树
树ADT 树 Operation: InitTree(*T); DestroyTree(*T); CreateTree(*T,definition); ClearTree(*T); TreeEmpty(T); TreeDepth(T); Root(T); Value(T,cur_e); Assign(T,cur_e,value); Parent(T,cur_e); LeftC原创 2017-08-10 18:00:41 · 241 阅读 · 0 评论 -
《大话数据结构》 第七章 图
ADT 图 Operation: CreateGraph(*G,V,VR); DestroyGraph(*G); LocateVex(G,u); GetVex(G,v); PutVex(G,v,value); FirstAdjVex(G,*v); NextAdjVex(G,v,*w); InsertVex(*G,v); DeleteVex(*G,v); DeleteArc(*G原创 2017-08-10 22:01:54 · 375 阅读 · 0 评论 -
《大话数据结构》第九章 排序
排序用到的结构与函数#define MaxSize 100 typedef struct SqList{ int r[MaxSize]; int length; }SqList;void swap(SqList *L, int i, int j){ int temp=L->r[i]; L->r[i]=L->r[j]; L->r[j]=temp; }1.冒泡排序原创 2017-08-12 15:49:19 · 348 阅读 · 0 评论