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 Solvers59
Suggested Problems
-
Return the largest number that is adjacent to a zero
5547 Solvers
-
Return the 3n+1 sequence for n
8535 Solvers
-
21801 Solvers
-
514 Solvers
-
565 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!