Problem 2372. Determine connected components of a graph
Adjacency matrix of an undirected graph is given. Return the number of connected components in the graph.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers46
Suggested Problems
-
6078 Solvers
-
Remove the two elements next to NaN value
695 Solvers
-
Create an index-powered vector
915 Solvers
-
510 Solvers
-
Count decimal digits of a number
234 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!