资源列表
[数据结构常用算法] polylist
说明:数据结构实现两个多项式的加法,首先输入两个多项式,如"5,8",代表5x^8,以"0,0"结束,结束后输出两个多项式相加的和-Data structure to achieve the addition of two polynomials, first enter the two polynomials, such as " 5,8" , on behalf of 5x ^ 8, to " 0,0" end, after the end of the outp<李烨> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] hannuotadeshixian
说明:经典游戏汉诺塔的实现。本程序较短,采用递归算法-Implementation of classic game Tower of Hanoi. The procedure is shorter, using the recursive algorithm<的> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] XUESHENDAPEIWENTI
说明:一班有m 个女生,有n 个男生(m 不等于n ),现要开一个舞会。男女生分别编号坐在舞池的两边的椅子上。每曲开始时,依次从男生和女生中各出一人配对跳舞,本曲没成功配对者坐着等待下一曲找舞伴。 请设计一系统模拟动态地显示出上述过程,要求如下: (1)输出每曲配对情况; (2 )计算出任何一个男生(编号为X )和任意女生(编号为Y ),在第K 曲配对跳舞 的情况.至少求出K 的两个值 分别用循环队列和链队列实现了 -A group of girls with m,<陈蔚> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] O(logN)sort
说明:时间复杂度为O(logN)的排序算法。。俗称重口味排序-Time complexity is O (logN) sorting algorithm. . Commonly known as the flavors sort<Oniontree> 在 2025-07-19 上传 | 大小:1kb | 下载:0
[数据结构常用算法] run-babbel-sort
说明:buble sort, this is my code to approve the task from my teacher<zein> 在 2025-07-19 上传 | 大小:1kb | 下载:0