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
-
Replace NaNs with the number that appears to its left in the row.
3055 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3645 Solvers
-
305 Solvers
-
368 Solvers
-
Find out sum of all elements of given Matrix
527 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!