Which nodes are the siblings of Node D of given ternary tree?

Category: QuestionsWhich nodes are the siblings of Node D of given ternary tree?
Editor">Editor Staff asked 4 weeks ago

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 Answers
Editor">Editor Staff answered 4 weeks ago

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.