Given an adjacency matrix of a simple undirected graph, find the number of connected components.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers58
Suggested Problems
-
14349 Solvers
-
Find state names that start with the letter N
1504 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
590 Solvers
-
Generate N equally spaced intervals between -L and L
955 Solvers
-
Given a matrix, return the last eigen value
233 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!