资源列表
[数据结构常用算法] Mergerandarray
说明:可按如下所述实现归并排序:假设序列中有k个长度为小于等于L的有序子序列。利用过程merge(参见教科书10.5)对它们进行两两归并,得到[k/2]个长度小于等于2l的有序子序列,称为一趟归并排序。反复调用一趟归并排序过程,使有序子序列的长度自l=1开始成倍的增加,直至使整个序列成为一个有序序列。是对序列实现上述归并排序的递推算法,并分析你的算法的时间复杂度。 本程序包含四个模块: 1. 主程序模块: void main() {初始化序列; 对序列归并排序; 输出<啊> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] Visit-system
说明:实现功能:1,从文件读入景点信息道路信息,然后用邻接表建立校园图,用邻接矩阵存放边的信息。 2,查看景点信息,道路信息。 3,查找两点之间最短路径,采用弗洛依德算法。 4,采用深度优先递归调用的方法遍利图。-Functions: 1, read from the file into the attractions road information and the establishment of the campus map, and then use the adjacency l<王琳> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] data-sturct
说明:顺序存储的线性表维护子系统的实现,编程建立了线性表,对顺序存储的线性表实现了查找、插入、删除、修改操作。-Linear order storage table maintenance subsystem implementation, programming, linear table, on the order of the linear form of the stored search, insert, delete, modify operation.<鲍慊> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] include222
说明:基本线性表的就地逆置,链式存储结构基本线性表的就地逆置算法实现。-The basic linear form in situ reverse set, chain storage structure linear form in situ reverse set algorithm.<lx> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] xunhuansairichengbiao
说明:循环赛日程表描述: 用分治算法生成循环赛日程表(1到2的n次方个人)输入: 一个整数n 输出: 循环赛日程表(1到2的n次方个人) -The round-robin schedule: divide and conquer algorithm to generate a round-robin schedule (1-2 n-th individual) Input: an integer n output: (1-2 of the n-th individual of th<wangyilin> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] test23
说明:用顺序存储实现栈的初始化、入栈、出栈、取栈顶、判栈空操作。调用以上操作实现判断从键盘输入的括号序列是否匹配。-Stored in order to achieve the initialization of the stack, stack, stack, take the top of the stack and sentenced to the operation of the stack is empty. Call operation to achieve more than the j<陈杰> 在 2025-07-21 上传 | 大小:11kb | 下载:0
[数据结构常用算法] DP
说明:近年来,DP已成为NOIP中的“必考”项目,在06年的提高组题目中,甚至出现了两题DP(且该年分数线约为130分),DP的重要性可见一斑。-the data structure<tianguochao> 在 2025-07-21 上传 | 大小:11kb | 下载:0