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

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

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.

Categories

...