资源列表
[数据结构常用算法] 123
说明:约瑟夫问题 编号为1,2,3,…,n的n个人按顺序针方向围坐一张圆桌旁,每个人手中持有 一个密码(正整数)。首先输入一个正整数作为报数上限值m,然后,从第一个人开始按顺序针方向自1开始顺序报数,报到m的人离开桌子,并将他手中的密码作为新的m值,从顺序针方向的下一个就坐在桌旁的人开始重新从1报数,如此下去,直至所有人全部离开桌旁为止。-Joseph issues numbered 1,2,3, ..., n of the n individuals in accordance with t<bobo> 在 2025-06-11 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BookFind
说明:一个海量图书查询系统,程序可以模拟图书馆书库,随机生成100万条图书记录并形成索引表和哈希表,实现图书查找功能。同时计算执行效率。-Inquiry System of a mass of books, the program can simulate the library stacks, randomly generated one million books and records of the formation of the index table and hash table, the<Jack cheng> 在 2025-06-11 上传 | 大小:5kb | 下载:0
[数据结构常用算法] huiwen
说明:利用顺序队列验证输入的一段字符并判断是否为回文-Order to verify the use of input queue and for some characters to determine whether the palindrome<jack cheng> 在 2025-06-11 上传 | 大小:1kb | 下载:0