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 5 months 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 5 months 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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40701