资源列表
Matrixmul
- 求m*n阶实矩阵A与n*k阶实矩阵的乘积矩阵C=A*B-Demand m* n order real matrix A n* k order real matrix product matrix C = A* B
Path
- 最短路径的问题,求一个有向图中一个点到给定点的最短路径-The shortest path problem, and one has to map a point to give fixed-point shortest path
PackageQuestion
- 使用C++编写的使用贪心算法来实现的背包问题。-Greedy algorithm to achieve the use of the knapsack problem.
cv4
- Edge(int from, int to, int cost) : from(from), to(to), cost(cost) {} friend bool operator<(const Edge& a, const Edge& b) { if (a.cost != b.cost) { return a.cost > b.cost }
Joseph
- 数据结构实验:用链表模拟约瑟夫环问题C语言 Joseph-Experimental data structure: the problem with the linked list C-ring analog Joseph Joseph
test
- 构造一个链表,然后把链表逆序,输出链表的内容-ReverseList
chazhao
- 折半查找算法的递归算法,采用顺序方式存储。完整的程序-Recursive algorithm binary search algorithm, using the order stored. Complete program
006
- 用if…else语句解决奖金发放问题,用C语言实现-If ... else statement to solve with the bonus issue, with the C language
Pre-order-binary-tree-traversal
- 二叉树的前序遍历:主要运用C语言来实现二叉树的前序遍历算法-Pre-order binary tree traversal
test
- 约瑟夫问题 设有n个人站成一圈,每个人有不同的编号i(1≤i≤n)。从编号为1的人开始按顺时针方向“1,2,3,4…”循环报数,数到m的人出列,然后从出列者的下一个人重新开始报数,数到m的人又出列,如此重复进行,直到n个人都出列为止。约瑟夫问题是:对于任意给定的n个人的原始排列顺序和m值,求出n个人的出列顺序。 例如,当8个人的原始排列顺序为 1 2 3 4 5 6 7 8 并且m=4时,其出列顺序为 4 8 5 2 1 3 7 6 -Documents and S
CreatBinaryTree
- 这个程序能让用户输入由中序与层序序列建立二叉树,该文件底部有一个输入例子供参考。-This program allows the user to input Chinese and sequence sequence sequence to build a binary tree, the bottom of the file has an input example for reference.
HuffmanTree
- 静态建立Huffman树,数据结构,静态,huffman树-Static build Huffman tree data structures, static, huffman tree
