![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++ 数据结构
文章平均质量分 77
zhangjc9401
这个作者很懒,什么都没留下…
展开
-
图的邻接表存储及DFS,BFS遍历
每天进步一小步~原创 2015-02-03 15:50:02 · 732 阅读 · 0 评论 -
有向图的拓扑排序~TopologicalSort
#include#include#include#define Status int #define OK 1#define ERROR 0#define Max_Vertex_Num 20#define InfoType int #define VertexType char using namespace std;bool visited[Max_Vertex_Num];原创 2015-02-04 11:19:47 · 356 阅读 · 0 评论 -
快速排序Quick_Sort
#include#include#define ElemType int using namespace std;typedef struct SqList{ ElemType *data; int length;}SqList;void Create_SqList(SqList& L){ do{ cout << "线性表长:"; cin >> L.length; }原创 2015-02-05 17:27:19 · 315 阅读 · 0 评论