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 Solvers55
Suggested Problems
-
16212 Solvers
-
2188 Solvers
-
465 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14144 Solvers
-
Output any real number that is neither positive nor negative
411 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!