The first line contains two integers n and m, denoting the number of cities and number of flights.
Next lines contains two integers Xi and Yi, meaning that there is a flight between Xi and Yi, . Also, it is guaranteed that the same edge will not be given twice.
Print a single integer, maximum overall connectivity factor after 2 shut downs.
1<=n<=500000
2<=m<=1000000
1<=(Xi,Yi)<=n
Minimum Swaps To Make Identical Array
Find Center of Star Graph
Critical Connections in a Network
Critical Connections in a Network
Critical Connections in a Network
Critical Connections in a Network
COUNT ISLANDS
Distance to a Cycle in Undirected Graph