资源列表
合并排序
- 合并排序
fastL11
- It is about soving sparse solution from linear system, simpel and fast.
tiaoshi
- 需要求3个长方柱的体积,请编写一个基于对象的程序。 数据成员包括length(长)、 width(宽)、height(高)。要求用成员函数实现以下功能: 1、由键盘分别输入3个长方柱的长、宽、高; 2、计算长方柱的体积; 3、输出3个长方柱体积; 请编写程序,上机调试并运行。-Demand for the volume of 3 rectangular column, please write a object-based programs. Data members,
binsearch
- 本程序实现了折半查找算法,可运行,还包括难点注释-This procedure implements the binary search algorithm can run, but also difficult notes
joseph
- 约瑟夫环的简单求解,可以用来学习初级数据结构。-Josephus simple solution can be used to study the primary data structure.
01bag
- 01背包问题:从这n件物品中选择若干件放入此背包,使得放入的重量之和正好为S。-01 knapsack problem: n items selected from a number of pieces into the bag, so just put the weight of the sum of S.
si-ze-yun-suan
- 用C语言实现将字符串形式的运算转换为四则运算-Using C language to convert the string in the form of arithmetic operations
treenode
- 画出一棵二叉树,写出按照initial()函数建立该二叉树的字符序列。编写一个程序能建立一棵二叉树,并求所有叶子及结点总数。-Draw a binary tree, write in accordance with the initial () function to establish the sequence of characters of the binary tree. Write a program to establish a binary tree, and ask all th
QuickSort
- 快速排序(Quicksort)是对冒泡排序的一种改进。由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。-Quick sort in C/C++
beibao
- 背包问题的解决,,实现在最大载重量下利润最大化的问题-The solution of the knapsack problem
GREY-AFSA
- 灰色人鱼算法Grey Mermaid algorithm-Grey Mermaid algorithm
