Adjacency matrix of an undirected graph is given. Return the number of connected components in the graph.

Solution Stats

114 Solutions

56 Solvers

Last Solution submitted on Mar 09, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers56

Suggested Problems

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!