+1 vote
in Data Structures & Algorithms I by (110k points)
Who is descendant of Node C?

(a) A

(b) E

(c) D

(d) G

This interesting question is from K-ary Tree topic in portion Trees of Data Structures & Algorithms I

This question was posed to me in exam.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Correct option is (d) G

Easiest explanation - Descendant node is a node which has a direct path from ancestor node. Since Node G is connected to C, so Node G is the descendant of Node C.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...