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 Solvers31
Suggested Problems
-
Find the peak 3n+1 sequence value
2555 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3049 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
2046 Solvers
-
212 Solvers
-
Rotate counterclockwise a matrix 90 deg with left-bottom element
162 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!