+1 vote
in Data Structures & Algorithms I by (110k points)
Which node is the child node of Node D in the following ternary tree?

(a) A

(b) C

(c) G

(d) H

My enquiry is from 1 topic in portion Trees of Data Structures & Algorithms I

I have been asked this question in an online quiz.

1 Answer

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

The explanation is: The Child node is the node that has a directed path from its parent node. Since Node D has a direct path to Node H, So Node H is the Child node.

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.