资源列表
Tree.rar
- 这个程序是用来实现二叉树的一些最基本的操作。如前序,后序,中序遍历,以及求树的深度。,This procedure is used to fulfill some of the basic binary tree operation. Sequence such as the former, the latter sequence, in order traversal, as well as for the depth of the tree.
bitree.rar
- 构建并交换二叉树的左右子树,完整的可运行程序,Construction and exchange about the subtree tree, run the program can be complete
T_E.rar
- 将前缀表达式转为中缀表达式,并画出所建的树,To prefix infix expression to expression, and draw the tree built
wangtian.rar
- 模拟银行家算法,有效避免死锁.附带详细的实验报告!,Simulation bankers algorithm avoid deadlock. The report detailed experimental fringe!
数组按从小到大的顺序排序
- 这是一个简单的排序。给你一个有N个值的数组,每个数都小于10000000。然后就将这个数组按从小到大的顺序排序。在输入时,第一行输入一个整数T,T代表一个有多少个数组要排序。然后就有T组数,每组数的第一行就是数组的大小N。紧跟着就有N行数,第N行就是数组的第N个数。每个数组的输出就有N行。,Given you an array with N non-negative integers which are smaller than 10,000,000, you have to sort this
matrix.rar
- 十个利用矩阵乘法解决的经典题目,由matrix67大牛所写,堪称经典。,10 the use of matrix multiplication to solve a classic topic, written by matrix67 Daniudi, classic.
DFS.rar
- 深度优先算法,用深度优先来遍历树结构,能够取得很好的复杂度,Depth-first algorithm, using depth-first traversal tree structure to achieve a good complexity
KMP.rar
- 我自己写的一个“文学研究助手”的程序,C语言写的,实现了从文件中查找字符串。用到了KMP算法。,I wrote it myself a " literary research assistant" process, C language, and the realization of the search string from the document. Used in the KMP algorithm.
point_to_line.rar
- 计算点到直线的距离.输入两点坐标确定一个直线,再输入一个点的坐标,计算该点到直线的距离.,Calculated point to the straight line distance. Enter the coordinates of two points determine a straight line, and then input the coordinates of a point, to calculate the straight-line distance between poi
MST_Kruskal.rar
- 最小生成树 kruskal算法, 联通图,最短路径,Kruskal minimum spanning tree algorithm, Unicom map, the shortest path
ZOj1033-Ambiguous_Dates.rar
- ZOJ 1033 Ambiguous Dates.主要运用年月日的表示和一点搜索技法. ,ZOJ 1033 Ambiguous Dates. The main use of the said date and that the search techniques.
Huffmancoding.rar
- 对文本文件进行huffman编码、解码 读取文本文件,并统计文件中字母个数 建立huffman树 对文件进行huffman编码 对文件进行huffman解码 ,Text documents huffman encoding, decoding to read a text file, and the number of statistical documents the establishment of letters of the document tree huffman