资源列表
Maze
- 迷宫设计 利用STL 的stack 类,完成以下要求的功能: 1、打印迷宫: DisplayMaze()或者重载<< 其中(1,0)位置和(N-2,N-1)位置打印“=>,其余的1的位置打印“##”,0的位置打印“ ”(两个空格),注意每个位置都是两个字符。 2、寻找走出 迷宫的路径并输寻找走出 迷宫的路径并输寻找走出 迷宫的路径并输寻找走出 迷宫的路径并输寻找走出 迷宫的路径并输寻找走出 迷宫的路径并输FindPath(FindPath(FindPath(F
Polynomial
- 一个d阶多项式有如下形式: cdxd+cd− 1xd− 1+cd− 2xd− 2…+c0 其中,cd≠0,指数都是非负数。每一个cixi是多项式中的一项。 设计一个C++的模板类 Polynomial<T>,T给出系数的类型,要求能够实现多项式的表示和运算。Polynomial类应该包括私有变量degree,和其他需要的变量。对多项式的表示要求用线性表的形式,例如(c0,c1,c2,…,cd)表示系数表。并设计以下成员函数和操
DG-shortest-path
- 有向图最短路径的查找与展示代码,通过Dijkstra算法实现。-The code of the retrieval and the show of the directed graph. It uses the Dijstra s algorithm to complete.
pvanda
- 折半查找,数据结构C语言描述,很简单的算法-Binary search
guangyibiao
- 广义表实现二叉树的非递归后序遍历。二叉树以二叉链表作为储存结构。用非递归算法后序遍历二叉树。定义广义表实现二叉树的输入。对于二叉树的后序遍历打印出遍历结果。 -Generalized form of a binary non-recursive postorder traversal. Binary to binary tree as a storage structure. After a non-recursive traversal of a binary tree algorithm
ma-an-dian
- 建立一个矩阵并求矩阵中所有的马鞍点。在二维数组A[n]中查找马鞍点,根据其特点,在整行整列中要遍历判断,其个数为0至n^2任意数值。-Seeking to establish a matrix and the matrix of all saddle points. In the two-dimensional array A [n] to find the saddle point, according to its characteristics, the entire row to tra
adsaa
- 浙江大学计算机学院 《 算法分析高级数据结构与》 课程资料-Zhejiang University computer science, " Advanced Data Structures and Algorithm Analysis" course information
library
- 我的ACM代码库。内有常见的算法,费用流,欧几里得,后缀数组,AC自动机-My code library. It has a lot of algorithm
LinkedListReverse
- 链表逆转的实现,面试的时候可能也会问实现逆转的思想-List reversal achieved when the interview may also be asked to achieve reversal of thinking
DP
- 动态规划算法的编程实现,重在思想吧,代码也不多。-Dynamic programming algorithm programming, focusing on thinking it, the code is not much.
acmACM12
- ACM的常用算法,总结ACM的常用算法,有源代码,可直接应用-Kruskal Kruska lKruskalKruska lKruskalKruskal
QuickMod
- C程序进行快速取模指数,能用于密码学实验-C program for fast modulo index, can be used in cryptography experiments