5.21DFS
所属分类:数据结构
开发工具:Visual C++
文件大小:208KB
下载次数:4
上传日期:2012-02-26 15:13:28
上 传 者:
神驹
说明: 深度优先搜索实现的二叉树深度判断,源码在vc6.0下编译通过。
(DFS searching to measure the depth of the binary tree.and the code is compilled successfully in VC6.0.)
文件列表:
5.21DFS\Assign2_reminder.pdf (43369, 2011-05-23)
5.21DFS\Assign2_standard.pdf (76940, 2011-05-23)
5.21DFS\src\df (7529, 2011-05-23)
5.21DFS\src\dfs.c (4334, 2011-05-23)
5.21DFS\src\dfs.h (740, 2011-05-23)
5.21DFS\src\input (35, 2011-05-23)
5.21DFS\src\output (51, 2011-05-23)
5.21DFS\源程序\Applications of Depth-First Traversal.cpp (1260, 2011-05-23)
5.21DFS\源程序\dfs.pdf (102796, 2011-05-23)
5.21DFS\源程序\DFS拓扑排序.h (2952, 2011-05-23)
5.21DFS\源程序\两种方法求有向图的拓扑排序.h (573, 2011-05-23)
5.21DFS\源程序\判定图的半连通性.h (4308, 2011-05-23)
5.21DFS\源程序\判断图的单连通.h (1622, 2011-05-23)
5.21DFS\源程序\判断图的双连通.h (1700, 2011-05-23)
5.21DFS\源程序\无向图的连通性.h (862, 2011-05-23)
5.21DFS\源程序\有向图强连通分量.h (1705, 2011-05-23)
5.21DFS\源程序\有向图边分类.h (2049, 2011-05-23)
5.21DFS\源程序\点消除拓扑排序.h (2606, 2011-05-23)
5.21DFS\src (0, 2011-05-23)
5.21DFS\源程序 (0, 2011-05-23)
5.21DFS (0, 2011-05-23)
Input:
7
2
6
2
0
2
6
4
2
5
0
1
1
1
4
1
1
output:
tree
forward
tree
tree
cross
tree
tree
cross
cross
#define MAX 1000
struct student
{
int ID;
char *name;
};
近期下载者:
相关文件:
收藏者: