+1 vote
in Data Structures & Algorithms I by (110k points)
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 Answer

+1 vote
by (672k points)
selected by
Best answer
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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.