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
-
3334 Solvers
-
Extract leading non-zero digit
2172 Solvers
-
Find the sum of the elements in the "second" diagonal
1156 Solvers
-
232 Solvers
-
541 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!