Who is the ancestor of Node G?

Category: QuestionsWho is the ancestor of Node G?
Editor">Editor Staff asked 5 months ago

Who is the ancestor of Node G?
 
(a) C
 
(b) F
 
(c) H
 
(d) A
 
Origin of the question is Ternary Tree in section Trees of Data Structures & Algorithms I
 
The question was asked in a national level competition.

1 Answers
Editor">Editor Staff answered 5 months ago

The correct choice is (a) C
 
The best explanation: Ancestor node is a node that comes in between the path from the node to the root. Since Node C comes between node G and root, so Node C is called the ancestor node.


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