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 Solvers33
Suggested Problems
-
7837 Solvers
-
1831 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
220 Solvers
-
Calculate the area of a triangle between three points
3362 Solvers
-
Compute LOG(1+X) in natural log
259 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!