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
-
469 Solvers
-
Duplicate each element of a vector.
632 Solvers
-
Test if two numbers have the same digits
260 Solvers
-
471 Solvers
-
Sum of odd numbers in a matrix
611 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!