1.

Which nodes are the siblings of Node D of given ternary tree?(a) E(b) C(c) F(d) HMy query is from K-ary Tree in section Trees of Data Structures & Algorithms IThe question was posed to me in homework.

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.



Discussion

No Comment Found

Related InterviewSolutions