1.

Who is the ancestor of Node G?(a) C(b) F(c) H(d) AOrigin of the question is Ternary Tree in section Trees of Data Structures & Algorithms IThe question was asked in a national level competition.

Answer»

The CORRECT CHOICE is (a) C

The best explanation: ANCESTOR node is a node that comes in between the path from the node to the root. SINCE Node C comes between node G and root, so Node C is called the ancestor node.



Discussion

No Comment Found

Related InterviewSolutions