1.

Who is descendant of Node C?(a) A(b) E(c) D(d) GThis interesting question is from K-ary Tree topic in portion Trees of Data Structures & Algorithms IThis question was posed to me in exam.

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.



Discussion

No Comment Found

Related InterviewSolutions