资源列表
[数据结构常用算法] polynomials
说明:两个多项式相加,使用链表,计算时间复杂度,数据结构应用-Write a function to add two polynomials. Do not destroy the input. Use a linked list implementation. If the polynomials have M and N terms, respectively, what is the time complexity of your program?<zhuang929> 在 2025-06-04 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Polynomial-operations
说明:单链表存储多项式,头结点可存放多项式 的参数,如项数等-Single-chain storage polynomials, the first node can store the polynomial parameters, such as the number of items, etc.<阿园> 在 2025-06-04 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 10.15
说明:有一个班4个学生,5门课。(1)求第一门课的平均分 (2)找出有2门以上课程不及格的学生,输出他们的学号和全部 课程成绩和平均成绩;(3)找出平均成绩在90分以上或者全部 课程成绩在85分以上的学生。分别编写3个函数实现以上3个要求-There is a class four student, 5 course. (1) Find the first course of the average (2) to identify two or more students failed t<weiyanyu> 在 2025-06-04 上传 | 大小:1kb | 下载:0
[数据结构常用算法] R7.4
说明:.4已有一个已经排好序的数组,今输入一个数,要求按照原来排序的规律将它插入数组中。 本程序可以对both由小到大的排列数组和由大到小的数组进行操作-.4 Has an already sorted array, this type a number, sorted according to the original law required it into the array. The program can arrange for both small to large arrays an<weiyanyu> 在 2025-06-04 上传 | 大小:1kb | 下载:0
[数据结构常用算法] kruskal
说明:K r u s k a l算法每次选择n- 1条边,所使用的贪婪准则是:从剩下的边中选择一条不会产生环路的具有最小耗费的边加入已选择的边的集合中。注意到所选取的边若产生环路则不可能形成一棵生成树-K ruskal algorithm each time you select n-1 edges, using criteria of greed: from the left side, select a loop with no minimum spend has been selected to<黄京> 在 2025-06-04 上传 | 大小:1kb | 下载:0