Which node is the child node of the Node D in the following ternary tree?

Category: QuestionsWhich node is the child node of the Node D in the following ternary tree?
Editor">Editor Staff asked 1 month ago

Which node is the child node of the Node D in the following ternary tree?
 
(a) A
 
(b) C
 
(c) B
 
(d) No child node
 
I would like to ask this question from 1 in division Trees of Data Structures & Algorithms I
 
The question was posed to me in an interview for job.

1 Answers
Editor">Editor Staff answered 1 month ago

Correct answer is (d) No child node
 
For explanation: Since Node D is the Leaf node of the above ternary tree and leaf node has no child node. So there is no child node for Node D in the above ternary tree.