资源列表
[数据结构常用算法] houzi
说明:n只猴子要选猴王,所有猴子按1,2,…,n编号围坐一圈,从第1号开始按1,2, …,m报数,凡报到m号的猴子退出圈外,如此循环报数,直到圈内剩下一只猴子时,这个猴子就是猴王。编写一个程序实现上述过程,n和m由键盘输入。-n monkeys to choose the Monkey King, all the monkeys by 1,2, ..., n No sitting around, starting from No. 1 by 1,2, ..., m the number reporte<lsr> 在 2025-06-08 上传 | 大小:1.38mb | 下载:0
[数据结构常用算法] huli
说明:围绕着山顶有10个圆形排列的洞,狐狸要吃兔子,兔子说:“可以,但必须找到我,我就藏身于这十个洞中,你先到1号洞找,第二次隔1个洞(即3号洞)找,第三次隔2个洞(即6号洞)找,以后如此类推,次数不限。”但狐狸从早到晚进进出出了1000次,仍没有找到兔子。问兔子究竟藏在哪个洞里?-Peak around the circular array of 10 holes, the fox eat the rabbit, the rabbit said: " Yes, but you find me<lsr> 在 2025-06-08 上传 | 大小:1.32mb | 下载:0
[数据结构常用算法] ITalogrithm
说明:各大公司算法题,里面包含详细解释。包含了所有的算法源码-Major companies algorithm question, which contains a detailed explanation<成艳> 在 2025-06-08 上传 | 大小:31kb | 下载:0
[数据结构常用算法] Towers-of-Hanoi-problem
说明:用递归算法实现汉诺塔问题,并输出所移动的步数-Towers of Hanoi problem using recursive algorithm,and output the number of the movement<Lee> 在 2025-06-08 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Stability_Criteria_for_sorting_algorithms
说明:排序算法稳定性判别,可迅速查阅各种排序算法的稳定性并进行比较-Stability Criteria for sorting algorithm can quickly access a variety of sorting algorithms and compare the stability of<Lee> 在 2025-06-08 上传 | 大小:420kb | 下载:0
[数据结构常用算法] BinaryTree
说明:二叉树,可实现二叉树的插入,删除,中序,前序,后序遍历-Binary tree, binary tree can be realized insert, delete, in order, preorder, postorder traversal<文月如> 在 2025-06-08 上传 | 大小:1kb | 下载:0