资源列表
shiyan 试验二代码
- 试验二代码 //假设有两个按元素值递增有序的线性表A和B,均以单链表作存储结构,试编写算法将A //表和B表归并成一个按元素值递减有序的线性表C,并要求利用原表的空间存放C。-Test two code// Suppose there are two elements of value by increasing order of the linear form A and B, are linked as a single storage structure, try wr
two
- 二叉树算法的实现,能够迅速让符合这种算法的计算迅速实现-Binary tree algorithm that can quickly meet the requirements of this algorithm allows rapid calculation
shiyan
- 试验二代码 //假设有两个按元素值递增有序的线性表A和B,均以单链表作存储结构,试编写算法将A //表和B表归并成一个按元素值递减有序的线性表C,并要求利用原表的空间存放C。-Test two code// Suppose there are two elements of value by increasing order of the linear form A and B, are linked as a single storage structure, try writi
d
- 【问题描述】: 设有一个背包可以放入的物品重量最重为s,现有n件物品,它们的重量分别为w[0]、 w[1]、w[2]、…、w[n-1]。问能否从这n件物品中选择若干件放入此背包中,使得放入的重量之和正好为s。如果存在一种符合上述要求的选择,则称此背包问题有解(或称其解为真);否则称此背包问题无解(或称其解为假)。试用递归方法设计求解背包问题的算法。 -【Descr iption of the problem: There is a backpack of items can be pla
maxsub
- 求多个字母序列的最长公共子序列的C++代码-get the maxsimum common subsequence of some subsequence
1328
- 算法设计与分析的题目。雷达问题,这个程序就是解决这个问题的 。-Algorithm design and analysis of the topic. Radar problem, this procedure is to solve this problem.
Find-submatrix
- 在一个矩阵中寻找一个子矩阵,让这个子矩阵的所有项相加之和是最大的!-Find a sub-matrix in a matrix, and the sum of the points in the sub-matrix is the biggest.
Fibonacci
- Fibonacci数列求解代码,递归调用和迭代算法-Fibonacci Fibonacci Fibonacci
Complex
- 大学《数据结构》实验代码(实验一)后续还有-Data structures
HUIBIAN
- 接收从键盘输入的一个班的学生成绩,并存放于50字的grade数组中,其中grade+i保存为i+1的学生的成绩。然后根据grade中的学生成绩,把学生名次填入50字的rank数组中,其中rank+i的内容是学号为i+1学生的名次。再按学号顺序把名次从终端上显示出来。-Receiving input from the keyboard of a class of student achievement, and stored in the array of 50 words grade, whic
ack
- Calculate the Ackermann function ACK ( m, n ) recursive functions.-Calculate the Ackermann function ACK ( m, n ) recursive functions. For m>=0, n>=0, ACK ( m, n ) is defined as: ACK ( 0, n ) =n+1 ACK ( m, 0) =ACK ( m-1,1 ) ACK ( m, n ) =ACK (
scatterbar
- 实现对于散点数据的三维柱状图出图,在散点的基础上,给定相应的尺寸大小,采用plot3生成三维柱状图-Achieve a three-dimensional bar graph showing the scatter of data, on the basis of scatter, given the appropriate size, three-dimensional histogram is generated using plot3