资源列表
Dooli
- doolittle 方法解决矩阵算法问题,为c++编写,欢迎大家下载哈
ShannonFano
- ShannonFano实现-achieve ShannonFano
exp3-5
- 对迷宫问题的求解,可以输出所有的可行路径。-To solve the problem of the maze, you can export all of the feasible path.
zuixiaoshu
- 最小生成树的判定。对初学数据结构的人来说可以借鉴一下。-To determine the minimum spanning tree. Data structure on the beginners can learn about people.
Test(2)
- 用循环单链表实现: N个人围圆圈而坐,分别标以数字1到N。从坐在1号的位置的人开始依次传递土豆。M次传递之后,拿到土豆的人被排除,圆圈收缩,然后从离开圆桌的人后面的那个人开始继续游戏。游戏一直进行,直到留下最后一个人,为赢家。因此,如果M=0且N=5,所有的人依次被排除,5号最后胜利。如果M=1且N=5,排除的顺序为2,4,1,5. -Achieved with cyclic single-linked list: N individuals sitting around a circl
ordertr
- 递归遍历算法,包括先序,中序,后序算法,很简单很实用-Recursive traversal algorithm, including the first order, in order, after the order algorithm, it is simple and very practical
router
- 路由算法,对图进行最短路径选择,只需更改最大结点个数,邻接矩阵即可使用。-Routing algorithm, the shortest path to the graph selection, simply change the maximum number of nodes, the adjacency matrix can be used.
List
- 单链表中表头、表尾及表的中间插入删除元素-Single list table header, footer and delete the elements into the middle of the table
char-list
- 采用中心对称形式,对比两字符串是否相等,属于基础篇-With central symmetry, comparisons of the two strings are equal, is the basis of articles
binary-tree
- 二叉树算法 分别用前序、中序、后序遍历二叉树。-Binary tree algorithms were used to pre-order, in order, the order of traversal binary tree.
farmer
- 农夫过河。一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条一船,由 于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊 要吃菜,请问农夫如何才能使三样东西平安过河。-The farmer across the river
als
- 每30个旅客同乘一条船将全船一半的旅客投入海中,30个人围成一圈,由第一个人数起,依次报数,数到第9人,便把他投入大海中 然后再从他的下一个人数起,数到第9人,再将他扔进大海中。如此循环地进行,直到剩下15个乘客为止。问哪些位置是将是被扔下大海的位置。-Each 30 passenger ride with a boat to ship half of the passengers into the sea, 30 people form a circle, starting the
