Is Node A sibling of Node D in the given ternary tree?

Category: QuestionsIs Node A sibling of Node D in the given ternary tree?
Editor">Editor Staff asked 5 months ago

Is Node A sibling of Node D in the given ternary tree?
 
(a) True
 
(b) False
 
I would like to ask this question from Ternary Tree topic in division Trees of Data Structures & Algorithms I
 
I have been asked this question in an interview.

1 Answers
Editor">Editor Staff answered 5 months ago

Correct choice is (b) False
 
The best I can explain: Node B, Node C are the siblings of Node D while Node A is the parent node of Node D.


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