How many child nodes does each node of Ternary Tree contain?

Category: QuestionsHow many child nodes does each node of Ternary Tree contain?
Editor">Editor Staff asked 5 months ago

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 Answers
Editor">Editor Staff answered 5 months ago

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.


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