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
-
Remove all the words that end with "ain"
2128 Solvers
-
Number of 1s in a binary string
8069 Solvers
-
8897 Solvers
-
589 Solvers
-
272 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!