资源列表
Sort
- 编程实现选择、冒泡、直接插入、希尔、快速、堆、归并等几种排序算法,并计算每种算法的比较、移动次数。-Programming options, bubbling directly into the Hill, quick, heap, merge, etc. of several sorting algorithms, and calculate each algorithm, the number of moves.
analog-parking
- 一个实现模拟停车场的数据结构代码,适合初学者学习-An analog parking lot of the data structure of the code, suitable for beginners to learn
HaffumanCode
- 根据赫夫曼算法求赫夫曼树,根据赫夫曼树求赫夫曼编码-According to Huffman tree Huffman coding requirements
Cpp1
- 用邻接表表示图,重写Dijkstra算法,输入任意带权有向图,输出其每一对顶点之间的最短路径-A diagram showing the adjacency table, rewriting Dijkstra algorithm, with the right to enter any directed graph, the output of each of its shortest path between the vertices
youxiangtu
- 这是强连通图的一个经典算法,希望大家来分享哦,多多指教-This is the graph-a classic algorithms, we hope to share Oh, exhibitions
1
- 从文件里读入数据,计算各课成绩的平均分,最高分,最低分,学生的加权平均成绩,并生成分析数据。
二叉树的基本操作
- 二叉树的基本操作(1)在二叉链表上设计和实现下列二叉树运算的算法 ① 设计递归算法,实现:删除二叉树,求二叉树的高度,求二叉树中叶子结点数,复制二叉树,交换二叉树的左右子树。 ② 设计算法,按自上到下,自左向右的次序,即按层次遍历一棵二叉树。 ③ 设计main函数,测试上述每个运算。 -Binary Tree s basic operations (1) in the binary list on the design and realization of the fol
avl
- avl树 封装为类了 包括初始化 插入 删除 -avl tree package for the class, including initialization insertion deletion
Kruskal
- 采用Kruskal算法求最小生成树主要数据结构 edgeset GE 存放图中的所有边 int n,int e 存放图中的顶点数与边数 edgeset C 存放生成树中的边 vexlist gv 图中结点的顶点值 adjmatrix s 用来处理图中结点的查找与合并 int m1,m2 一条边上两顶点所属集合的序号 int k 最小生成树中的边数 int d //图中待扫描边元素的下标-For the Minimum Spanning Tree by Krusk
sort.cpp
- 各种排序的模板实现,并分析了各种实现的时间复杂度及改进办法-Templates of various sort, and analyze the time complexity of the various implementations and ways to improve
list
- 数据结构的链表操作等等。适合新手学习的资料。分享一下。-Linked list data structure operations and so on. Suitable for beginners learning materials. To share.
short
- 建立一个学校的场所平面图,可以计算出任意两个地点间的最短路径,以找到人们可行的最佳路途。
