Skip to content
Related Articles
Open in App
Not now

Related Articles

Data Structures | Graph | Question 2

Improve Article
Save Article
Like Article
  • Last Updated : 19 Nov, 2018
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!