The degree sequence of a simple graph is the sequence of the degrees of the nodes in the graph in decreasing order. Which of the following sequences can not be the degree sequence of any graph?

I. 7, 6, 5, 4, 4, 3, 2, 1
II. 6, 6, 6, 6, 3, 3, 2, 2
III. 7, 6, 6, 4, 4, 3, 2, 2
IV. 8, 7, 7, 6, 4, 2, 1, 1

(A) I and II
(B) III and IV
(C) IV only
(D) II and IV


Answer: (D)

Explanation: See Question 3 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-25/ for explanation.

Quiz of this Question


  • Last Updated : 19 Nov, 2018

Share your thoughts in the comments