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 Solvers24
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15530 Solvers
-
1346 Solvers
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
Celsius to Fahrenheit converter
608 Solvers
-
Sum the 'edge' values of a matrix
346 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!