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
-
7384 Solvers
-
5795 Solvers
-
First non-zero element in each column
893 Solvers
-
The Answer to Life, the Universe, and Everything
553 Solvers
-
Switch matrix to a column vector
362 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!