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 Solvers26
Suggested Problems
-
618 Solvers
-
Cell Counting: How Many Draws?
1902 Solvers
-
Who has power to do everything in this world?
442 Solvers
-
Switch matrix to a column vector
350 Solvers
-
Replace Nonzero Numbers with 1
392 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!