+1 vote
in Data Structures & Algorithms I by (110k points)
How many child nodes does each node of Ternary Tree contain?

(a) 4

(b) 6

(c) 5

(d) 3

The above asked question is from 1 topic in portion Trees of Data Structures & Algorithms I

I have been asked this question during an interview.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
Correct choice is (d) 3

The best I can explain: Each node of Ternary tree contains at most 3 nodes. So Ternary tree can have 1, 2 or 3 child nodes but not more than that.

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.