资源列表
[数据结构常用算法] 数据结构_走迷宫代码
说明:自己上数据结构课写的一个小程序 能找出走出迷宫的路径-own data structure classes on writing a small program can find the path out of the maze<花名册> 在 2025-06-17 上传 | 大小:231kb | 下载:0
[数据结构常用算法] peisong
说明:欧氏空间选址模型,重力模型,求解物流中单个配送中心选址为题等-Location Model of Euclidean space, gravity model, to solve the logistics distribution center in a single location for such<dongshiqin> 在 2025-06-17 上传 | 大小:231kb | 下载:0
[数据结构常用算法] KMP
说明:给定两个串S和T,长分别m和n,算法给出了一个找出二串间最大匹配的算法。该算法可用于比较两个串S和T的相似程度。-Given two strings S and T, respectively m and n, an algorithm to find the second largest string matching algorithms. The algorithm can be used to compare two strings S and T the degree of simil<henry> 在 2025-06-17 上传 | 大小:231kb | 下载:0
[数据结构常用算法] sorting_and_searching
说明:包括了常用的一些排序算法与搜索算法,如快速排序,桶排序,堆排序,冒泡排序,以及二分搜索等-Includes a number of commonly used sorting algorithms and search algorithms, such as quick sort, bucket sort, heap sort, bubble sort, and the two sub-search, and so<seckCoder> 在 2025-06-17 上传 | 大小:231kb | 下载:0
[数据结构常用算法] arrList
说明:将一个含有N个元素的单链表逆置,非递归算法,辅助空间为常量,时间复杂度为O(n),详细运行内容和截图在Readme文档中-Inverse set of a singly linked list containing N elements, non-recursive algorithm, the auxiliary space is constant, the time complexity is O (n), run the content and screenshots in the REA<谢澜> 在 2025-06-17 上传 | 大小:232kb | 下载:0
[数据结构常用算法] 最小生成树
说明:问题描述:给定一个地区的n个城市间的距离网,用Prim算法或Kruskal算法建立最小生成树,并计算得到的最小生成树的代价。 基本要求: 1、城市间的距离网采用邻接矩阵表示,邻接矩阵的存储结构定义采用课本中给出的定义,若两个城市之间不存在道路,则将相应边的权值设为自己定义的无穷大值。要求在屏幕上显示得到的最小生成树中包括了哪些城市间的道路,并显示得到的最小生成树的代价。 2、表示城市间距离网的邻接矩阵(要求至少6个城市,10条边) 3、最小生成树中包括的边及其权值,并显示得到的最小生成树的代价。<Layman俗人> 在 2025-06-17 上传 | 大小:232kb | 下载:0