Which node is the child node of the Node B in the following K-ary tree?

Category: QuestionsWhich node is the child node of the Node B in the following K-ary tree?
Editor">Editor Staff asked 5 months ago

Which node is the child node of the Node B in the following K-ary tree?
 
(a) A
 
(b) C
 
(c) B
 
(d) No child node
 
Asked question is from K-ary tree in chapter Trees of Data Structures & Algorithms I
 
The question was posed to me in a job interview.

1 Answers
Editor">Editor Staff answered 5 months ago

Right answer is (d) No child node
 
The best explanation: Since Node B is the Leaf node of the above ternary tree and leaf node has no child node. So there is no child node for Node B in the above K-ary tree.


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: 40702