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 Solvers24
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15290 Solvers
-
3660 Solvers
-
Celsius to Fahrenheit converter
592 Solvers
-
549 Solvers
-
Is this triangle right-angled?
5339 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!