【文件属性】:
文件名称:树与等价查并集实现代码
文件大小:3KB
文件格式:C
更新时间:2015-11-28 13:16:05
数据结构 树 c语言
并查集实现:普通算法、稚压缩、压缩路径。
Linux下查并集运行结果。
---------Please Select you choice:----------
1 Enter the relation!
2 Find its root!
3 Find its relations!
0 Quite!
Your choice is :3
Please enter the number you want to know :
1 8
YES,1 and 8 have the same root!