+1 vote
in Data Structures & Algorithms I by (110k points)
Which nodes are the siblings of Node D of given ternary tree?

(a) E

(b) C

(c) F

(d) H

My query is from K-ary Tree in section Trees of Data Structures & Algorithms I

The question was posed to me in homework.

1 Answer

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

The best I can explain: Siblings are the nodes that share same parent. Since both the Node H is parent Node D, So the sibling of Node D is Node H.

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.