ISRO | ISRO CS 2011 | Question 19
If node A has three siblings and B is parent of A, what is the degree of A?
(A) 0
(B) 3
(C) 4
(D) None of the above
Answer: (D)
Explanation: A has three siblings and B is parent of A, but no information is given about the children of A or if it is an internal node or a leaf node.
As the information given is insufficient to tell the degree of the A, Option (D) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.