并查集实现:普通算法、稚压缩、压缩路径。 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!
评论星级较低,若资源使用遇到问题可联系上传者,3个工作日内问题未解决可申请退款~