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 Solvers35
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5790 Solvers
-
420 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
642 Solvers
-
194 Solvers
-
422 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!