You are given an integer n denoting the number of vertices in an undirected graph, with vertices numbered from n edges where each edges[i]
A connected component is considered complete if every pair of vertices within that component is connected by an edge.
Return the total number of complete connected components in the given graph.
Constraints:
n
edges.length n n
edges[i].length
n
There are no repeated edges.
You are given an integer n denoting the number of vertices in an undirected graph, with vertices numbered from n edges where each edges[i]
A connected component is considered complete if every pair of vertices within that component is connected by an edge.
Return the total number of complete connected components in the given graph.
Constraints:
n
edges.length n n
edges[i].length
n
There are no repeated edges.