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
-
Maximum running product for a string of numbers
2259 Solvers
-
Number of 1s in a binary string
11755 Solvers
-
Getting the indices from a matrix
741 Solvers
-
368 Solvers
-
Output a vector which is table of 9
180 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!