Problem 3898 · Easy

Find the Degree of Each Vertex

The degree of a vertex is the number of ones in its row of the adjacency matrix.

Open the interactive visualisation