资源列表
[数据结构常用算法] handout-files5
说明:卡内基梅隆 数据结构 实验5 icarnegie-SSD5-execises-Experimental data structure Carnegie Mellon<张宇> 在 2025-06-19 上传 | 大小:3kb | 下载:0
[数据结构常用算法] joke
说明:约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列。-Josephus problem: Let numbered 1,2,3, ... ..., n of n (n><陈玟> 在 2025-06-19 上传 | 大小:2kb | 下载:0
[数据结构常用算法] minimal_spanning
说明:最小生成树,参考《数据结构——C++语言描述》-Minimum spanning tree<myname> 在 2025-06-19 上传 | 大小:1.05mb | 下载:0
[数据结构常用算法] shujujiegou
说明:数据结构课程设计:顺序索引查找 内容包含程序代码和课程设计报告书-Data structure course design: the order of the index to find content that contains program code and program design report<weichuang> 在 2025-06-19 上传 | 大小:19kb | 下载:0
[数据结构常用算法] haffman
说明:构建所输入符号(及权值)的Huffman树,并利用该树求出各符号 的 Huffman编码,深入理解最优二叉树的概念及其特性。 -Construction of the input symbols (and weight) of the Huffman tree and the tree obtained using Huffman coding of the symbols, in-depth understanding of the concept of optimal binary tr<gaoyuan> 在 2025-06-19 上传 | 大小:140kb | 下载:0
[数据结构常用算法] joseph
说明:约瑟夫问题如下:已知n个人(n>=1)围坐一圆桌周围,从1开始顺序编号。从序号为1的人开始报数,顺时针数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规则重复下去,直到所有人全部出列。请问最后一个出列的人的编号。 -Joseph questions are as follows: Given n individuals (n> = 1) sitting around a round table, numbered sequentially startin<sdalong> 在 2025-06-19 上传 | 大小:1kb | 下载:0