资源列表
huffmancode
- 有关huffman编码的具体实现的源代码,算法参考严蔚敏版算法课本的huffmancode伪代码,供初学者参考-Concrete realization of the huffman encoding the source code, algorithm reference Yan Wei-min version of the textbooks huffmancode algorithm pseudo-code for beginners reference
2626Chess
- PKU 2626 Chess的问题解答,C++实现。 使用的是3维DP-It s a C++ solution for the problem-2626 in PKU ACM on-line judge.
1404_IKeyBoard
- 题目是PKU 1404 I KEY BOARD。这是用C++实现的代码-It a the C++ solution of problem-1404 in PKU ACM on-line judge
datastructandalogrithems
- 国外优秀的算法数据结构丛书,有六本;是英文原版的,要有相当的基础才看得懂哦。献给有需要的人。-Excellent algorithm for data structure of foreign books, there are six it is the English original, and must be able to understand the basis of a considerable oh. Dedicated to people in need.
1206perls
- 这是用C++写的PKU 1206 pearls的算法代码-It s the C++ solution code of problem 1206 pearls in PKU on line judge
paixu
- 经典的排序方法实现,可做子程序使用。包括整数、实数、字符串的快速排序。主要采用冒泡法。-Classic sorted implementation subroutine used to do. Including integers, real numbers, strings quicksort. Mainly uses the bubble method.
Binary
- 二叉树 VC++, 通过VC++编程,生成二叉树,具有遍历的功能-Binarytree VC++
queen
- 八皇后问题的具体实现,用递归来寻找每个皇后的位置,有注释!-Concrete realization of the eight queens problem, using recursion to find the location of each of the Queen, there are comments!
mybestfeifengoverle
- 遗传算法求极值 体会遗传算法思想,能够设计并编写遗传算法的相关操作函数,并能够应用遗传算法求解具体问题。-Genetic algorithm genetic algorithms seek extremal understand ideas of genetic algorithms to design and prepare the relevant operational function, and be able to apply genetic algorithm to solve sp
VectorGraphOfTrans.tar
- 对矢量图形的简单操作,如:平移、旋转、依直线镜像、依点镜像以及放大或缩小 。-The geometric transformation of vector graphics
collectioncaculator
- 运用顺序表的基本运算。(插入、删除) 1)集合的数据类型为一个结构体,其中包括一个数组用来存放集合元素,一个整型数据来统计集合元素的个数。生成两个集合A和B。 2)将集合中的元素按照从小到大排序。具体方法为:从第二个元素起(i),依次扫描每个元素前面的所有元素(j),若i<j,则将j插在i的前面,结束对i的排序,照这个方法,再依次对i后的元素进行排序。 3)求两集合的并:生成一个新集合C,将集合A的元素复制过来,对集合B的元素依次进行扫描,若没有该元素,则插入,若已存在,则扫描
generallist
- 求广义表的深度 利用数组传值,建立单链表并将其初始化。 利用递归求出每个子表的深度,进而求出广义表的深度。 先看两个表的深度是否相同,若相同,对表A中的每个元素i,扫描表B中的每个元素,对与i深度相同的元素j,再将i中的每个元素与j中的每个元素进行比较。(运用递归算法)-Seeking a broad depth of the table The use of an array passed by value, establish a single list of its in