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
-
Extract leading non-zero digit
2176 Solvers
-
Maximum running product for a string of numbers
2199 Solvers
-
Number of 1s in a binary string
9638 Solvers
-
355 Solvers
-
Returning a "greater than" vector
260 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!