【Tarjan算法】求连通块+割点/边

1.Tarjan算法的作用

(1)割点的个数以及输出割点序号

(2)连通块的数目

(3)最大连通块的元素个数

猜你喜欢

转载自www.cnblogs.com/Aiahtwo/p/11726816.html
今日推荐