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 Solvers35
Suggested Problems
-
7249 Solvers
-
Extract leading non-zero digit
2244 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
find the maximum element of the matrix
537 Solvers
-
758 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!