Answers
Connected component of an undirected graph is a subgraph in which any two vertices are connected to each other by paths
2 connected components
* Now let us solve the given problem
Here we have 3 connected components
* Now let us solve the given problem
Here we have 3 connected components
Connected component of an undirected graph is a subgraph in which any two vertices are connected to each other by paths
2 connected components
* Now let us solve the given problem
Here we have 3 connected components
* Now let us solve the given problem
Here we have 3 connected components