Articulation point is the node of the graph, on whose removal the graph gets divides into two or more than two components
Below is our graph:
It will look something like this:
If we remove this part, does graph gets divided into two or more than two components, answer is NO, therefore this is not an ariculation point
It will look something like this:
We can see that the graph gets divided into two components, therefore this is an articulation point
- Similar to that of the finding bridges in prev question
- we'll use the same formula, the difference isjust that
if((low[it] >= tin[node]) && parent != -1)