Given an adjacency matrix of a simple undirected graph, find the number of connected components.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers59
Suggested Problems
-
Swap the first and last columns
23401 Solvers
-
1784 Solvers
-
Test if a Number is a Palindrome without using any String Operations
259 Solvers
-
Create an index-powered vector
969 Solvers
-
177 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!