资源列表
合并排序
- 合并排序
ludcmp.rar
- 矩阵的LU分解,通过基于主元法的分解法将矩阵分解为左右矩阵的积得形式。,LU matrix decomposition, the main element method-based decomposition of the matrix around broken down into a matrix form of the plot.
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
maopao
- 排序算法里的重要理论依据,冒泡排序法,在排序学习中经典案例-bubble sort
juzhenlianxiangcheng
- 此代码为实现矩阵链相乘算法的c++代码,希望能给大家带来帮助。-This code for the realization of the matrix chain multiplication algorithm c++ code, hoping to bring help.
zuiyouhebing
- 最优合并问题,当取最小值保证每次的2个加数为最小便可,最大值同理取当前最大的两个值便可。取最小值与取最大值实现的方式不同,最小值不需要排序。-Optimal merger, when the minimum value of each guaranteed two addends can be minimum, maximum empathy take the current maximum of two values can be. Take the minimum and maximum v