资源列表
yuesefuhuan
- 约瑟夫环,数据结构里面,链表的使用的实验设计-Joseph ring, data structure inside, the list of the use of the design of experiments
3
- 3.1 最长公共子序列问题 最长公共子序列(动态规划) 实验数据:input.txt X={A,B,C,B,D,A,B} Y={B,D,C,A,B,A} ——要求给出X、Y的最长公共子序列Z,程序运行结束时,将计算结果输出到文件output.txt中。输出文件中包含问题的答案:找不到公共子序列时给出“null” 。-3.1 the longest common subsequence problems longest common subsequence (dynamic
cengcipianli
- 按照一定的输入求出二叉树的层次遍历,输出相应的结果-Calculated in accordance with the input binary tree traversal of the hierarchy, the output of the corresponding results
FLYD
- 最短路径——弗洛伊德算法,做了很长时间才做好的
pack1
- 01背包问题 用算法分之方法解决的问题
Dijkstra
- Dijkstra算法设计单源最短路径问题的贪心算法-Greedy algorithm of Dijkstra algorithm design single source shortest path problem
MaxSum_ML
- 最大子段和实验之蛮力法,包括程序运行时间计算,C++表述-The largest sub-segment and experiments brute force method, including the run time calculation, C++ statements
queue
- 队列,用顺序或链式结构实现一个队列,采用二叉链表存储结构,用递归方式建立二叉树对 应的二叉链表,并建立队列实现该二叉树的层次遍历序列的输出。 -Queue, with the sequence or chain structure to achieve a queue, using the binary storage structure list, using a recursive approach to building a binary tree corresponding to
ss
- 这是学习数据结构的好资料,仔细钻研会取得意想不到的结果-This is good information to learn data structures, careful study will yield unexpected results
1
- 利用贪心策略解决背包问题。现有载重为M公斤的背包和n种货物。第i种货物的重量为Wi,它的总价值为Pi,假定M、Wi、Pi均为整数。设计程序给出装货方法,使装入背包的货物总价值达到最大。-Greedy strategy to solve the knapsack problem using. Current load of M kg backpack and n kinds of goods. First i kind of cargo weight Wi, its total value of
long_factorial
- 两个大整数相乘,由于long int型的位数也不够,所以要用数组来表示,此程序即是这个功能。-Multiplying two large integers, the number of bits as long int type is not enough, so use an array to indicate that this procedure is this.
migong
- 用C语言写的迷宫,出自雨中飞燕,包括两个版本的程序,打开源文件,里边有两个程序-Written in C language maze, from the rain swallows