In a simple graph, the number of edges is equal to twice the sum of the degrees of the vertices.

Category: QuestionsIn a simple graph, the number of edges is equal to twice the sum of the degrees of the vertices.
Editor">Editor Staff asked 4 weeks ago

In a simple graph, the number of edges is equal to twice the sum of the degrees of the vertices.
 
(a) True
 
(b) False
 
The question is from Graph in section Graph of Data Structures & Algorithms I
 
This question was addressed to me in an interview.

1 Answers
Editor">Editor Staff answered 4 weeks ago

Right choice is (b) False
 
Easiest explanation – The sum of the degrees of the vertices is equal to twice the number of edges.