Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.78 KB

26. Articulation Point.md

File metadata and controls

39 lines (20 loc) · 1.78 KB

Articualtion Point

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:

Screenshot from 2021-10-03 15-27-53

1.Let us remove any node

Screenshot from 2021-10-03 15-28-24

It will look something like this:

Screenshot from 2021-10-03 15-30-58

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

2.Let us remove some other node

Screenshot from 2021-10-03 15-32-42

It will look something like this:

Screenshot from 2021-10-03 15-33-02

We can see that the graph gets divided into two components, therefore this is an articulation point

3.Similarly we can see that 8 is also an articulation point:

Screenshot from 2021-10-03 15-34-41

Screenshot from 2021-10-03 15-34-48

Steps to find 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)