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 Solvers25
Suggested Problems
-
Find the peak 3n+1 sequence value
2484 Solvers
-
Find the index of n in magic(n)
234 Solvers
-
93 Solvers
-
73 Solvers
-
Determine the length of a string of characters
250 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!