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

Solution Stats

157 Solutions

88 Solvers

Last Solution submitted on Sep 04, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...