Problem 2730. Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
384 Solvers
-
Determine Whether an array is empty
775 Solvers
-
706 Solvers
-
Are all the three given point in the same line?
415 Solvers
-
Add a row of zeros on top of a matrix
251 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!