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 Solvers22
Suggested Problems
-
8700 Solvers
-
3327 Solvers
-
Back to basics 6 - Column Vector
1044 Solvers
-
Flip the main diagonal of a matrix
780 Solvers
-
Change the sign of even index entries of the reversed vector
505 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!