How many extra nodes are there in Full K-ary tree than complete K-ary tree?

Category: QuestionsHow many extra nodes are there in Full K-ary tree than complete K-ary tree?
Editor">Editor Staff asked 5 months ago

How many extra nodes are there in Full K-ary tree than complete K-ary tree?
 
(a) 1
 
(b) 2
 
(c) 3
 
(d) Both have same number of nodes
 
I would like to ask this question from K-ary Tree topic in division Trees of Data Structures & Algorithms I
 
The question was posed to me in final exam.

1 Answers
Editor">Editor Staff answered 5 months ago

Correct option is (d) Both have same number of nodes
 
Best explanation: Every Full K-ary tree is also a complete K-ary tree. Therefore, both have same number of nodes.


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