资源列表
[数据结构常用算法] 1
说明:约瑟夫(Joeph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。-Joseph (Joeph) a descr iption of the problem is: number is 1,2, ...,<张彻> 在 2025-06-24 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Assignment03_CS09m039.tar
说明:Data structure programs<aniket> 在 2025-06-24 上传 | 大小:98kb | 下载:0
[数据结构常用算法] ACM_template
说明:acm 模板(浙大),各类常用算法的模板-acm template (Zhejiang University), various types of commonly used algorithm of template<黄建> 在 2025-06-24 上传 | 大小:76kb | 下载:0
[数据结构常用算法] StraightInsertionSort
说明:数据结构中的排序中的直接插入算法的设计 与实现-Data structure Sorting direct insertion algorithm Design and Implementation<硕硕> 在 2025-06-24 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Adjacentmulti-tablestoragegraph
说明:从键盘上输入一串数偶,如(A,B)表起始结点为A,终止结点为B的无向边。若A,B不存在于图中,则先将两个结点A,B存入图中,再将边(A,B)存入图中。最后显示图中已经存入的结点和边的数目。-Enter the string of numbers from the keyboard even if (A, B) form the starting node for the A, B, end node is free to the edge. If A, B does not exist in t<追风> 在 2025-06-24 上传 | 大小:354kb | 下载:0
[数据结构常用算法] Sorting_Algorithm
说明:分析采用各种排序算法时的复杂度,包括时间复杂度与空间复杂度。-Analysis using a variety of complexity of sorting algorithms, including the time complexity and space complexity.<追风> 在 2025-06-24 上传 | 大小:42kb | 下载:0