...

/

Challenge 5: Count Number of Edges in an Undirected Graph

Challenge 5: Count Number of Edges in an Undirected Graph

Try to solve the Count the Number of Edges in an Undirected Graph problem.

Statement

Given an n number of nodes in an undirected graph, compute the total number of edges.

Constraints:

  • 00 \leqn102 \leq 10^2 ...