Problem 2685 · Medium

Count the Number of Complete Components

Count connected components in which every pair of different vertices has an edge.

Open the interactive visualisation