资源列表
不带头结点的单向链表逆置
- 给定程序中,函数fun的功能是将不带头结点的单向链表逆置,即若原链表中从头到尾结点数据域依次为:2、4、6、8、10,逆置后,从头至尾结点数据域依次为:10、8、6、4、2。 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 -A given program, function fun is the function of the node will not take the lead against the home one-way linked list,
Fibonacci
- 用递归算法实现,输入n后可得第n项斐波拉契数,并求出计算所用时间-Recursive algorithm, the input can be obtained after the first n n Feibolaqi item number, and extracts used in the calculation of time
shuta1
- 算法分析经典的数塔问题,从顶部出发,在每一结点可以选择向左走或是向右走,一起走到底层,要求找出一条路径,使路径上的值最大。 -Algorithm analyzes a number of classic tower problem, starting from the top, at each node can choose to go left or right, go, walk out together to the ground floor, asked to find a pat
mulDamp
- 该程序有效的求解解非线性方程,供大家共同学习。-The program is an effective solution for solving nonlinear equations, for all to learn together.
BayesClassifier
- sample program for bayes
Quicksort
- 快速排序(Quicksort)是对冒泡排序的一种改进。由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。-Quick sort (Quicksort) is a bubble sort of an improvement. By the CAR Hoare in 1962. The b
jishupaixu
- 计数排序源码,仿造算法导论上的思想编写,适合学习算法的初学者。-Counting Sort source, copy the idea on the Introduction to Algorithms written for beginners learning algorithms.
hessenberg
- 把复矩阵上hessenberg化,再应用qr算法可以求矩阵的特征值和特征向量-Hessenberg based on the complex matrix, then apply the qr algorithm can find eigenvalues ??and eigenvectors
quicksort
- Quick sort algorithm is there
a-b
- 大整数的减法,运用了补码的思想实现,而不是简单的进位-Large integer subtraction,by the thought of complement code
cholesky
- 一个实现cholesky分解的C++源代码,能够运行。-A realization the cholesky decomposition of C++ of source code, to be able to run.
martix
- 本程序用C语言实现矩阵之间加、减、乘的运算-The program using C language the matrix add, subtract, multiply computing