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
-
Find the sum of all the numbers of the input vector
54977 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
451 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
734 Solvers
-
Sum of odd numbers in a matrix
620 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!