资源列表
[数据结构常用算法] JosephRing
说明:约瑟夫环:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选 一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列, 将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为 止。编程打印出列顺序。-Joseph Wan: No. 1,2,3, ..., n of n individuals a<cathy> 在 2025-05-26 上传 | 大小:1kb | 下载:0
[数据结构常用算法] single_chain_reverse
说明:单链表逆置,数据结构作业-Single-chain reverse function<jinzhaoli> 在 2025-05-26 上传 | 大小:1kb | 下载:0
[数据结构常用算法] charuheshanchu
说明:数据结构实验内容,线形表链式结构的插入和删除-The contents of the structure of the experimental data, linear chain structure of the table insert and delete<swallow> 在 2025-05-26 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Large_integer_multiplication
说明:算法分析与设计——大整数乘法。 计算两个超出机器数表示范围的整数的乘积。-Algorithm Analysis and Design- large integer multiplication. Calculating the number of two machines that go beyond the scope of the product of an integer.<胡小姗> 在 2025-05-26 上传 | 大小:1kb | 下载:0
[数据结构常用算法] find
说明:数据结构中的顺序表和数表的查找算法。基本思想:从表的一端开始,顺序扫描线性表,依次将扫描到的结点的关键字与给定值k进行比较,若相等,则查找成功;若扫描到表的另一端仍没有找到与关键字k相等的结点,则查找失败。-Data structure in the order list and several forms of the search algorithm. The basic idea: to start from one end of<wuyoudanbo> 在 2025-05-26 上传 | 大小:1kb | 下载:0