Arjun Suresh (talk | contribs) |
Arjun Suresh (talk | contribs) |
||
Line 1: | Line 1: | ||
− | 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 | + | 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$ | I. $7, 6, 5, 4, 4, 3, 2, 1$ |
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
This can be solved using havel hakimi theorem, which says :
So, we check each degree sequence given in question :
Since (II) comes only in option (A) and (D), and since (A) contains I, which is correct degree sequence, (D) must be right answer. We don't need to check for other sequences.
This work is licensed under the CC By-SA 3.0 , without all the cruft that would otherwise be put at the bottom of the page.
Sister Sites: GATE CSE Wiki, GATE CSE, Aptitude Overflow