Problem 3898 · Easy
The degree of a vertex is the number of ones in its row of the adjacency matrix.
Open the interactive visualisation