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 Solvers48
Suggested Problems
-
Return a list sorted by number of occurrences
2888 Solvers
-
2162 Solvers
-
90 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
149 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!