Given an adjacency matrix of a simple undirected graph, find the number of connected components.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers58
Suggested Problems
-
Swap the first and last columns
23166 Solvers
-
Find common elements in matrix rows
2720 Solvers
-
276 Solvers
-
1745 Solvers
-
1691 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!