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 Solvers34
Suggested Problems
-
Determine whether a vector is monotonically increasing
22379 Solvers
-
13926 Solvers
-
Renaming a field in a structure array
1568 Solvers
-
Make a run-length companion vector
649 Solvers
-
Reverse the elements of an array
1092 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!