Problem 2372. Determine connected components of a graph

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

Solution Stats

40.63% Correct | 59.38% Incorrect
Last Solution submitted on Nov 06, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers24

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!