The maximum number of edges in a n-node undirected graph without self loops is

2016

The maximum number of edges in a n-node undirected graph without self loops is

Answer: B. n(n-1)/2The maximum number of edges in an undirected graph with n nodes and no self-loops occurs when every pair of distinct vertices is connected. This is calculated…

  1. A.

    n2

  2. B.

    n(n-1)/2

  3. C.

    n-1

  4. D.

    n(n+1)/2

Attempted by 806 students.

Show answer & explanation

Correct answer: B

The maximum number of edges in an undirected graph with n nodes and no self-loops occurs when every pair of distinct vertices is connected. This is calculated by choosing 2 nodes from n, which equals n(n-1)/2.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…