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
-
Replace NaNs with the number that appears to its left in the row.
2976 Solvers
-
Determine if a Given Number is a Triangle Number
377 Solvers
-
Who knows the last digit of pi?
662 Solvers
-
1031 Solvers
-
Create a two dimensional zero matrix
489 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!