What is order of resultant heap after merging two tree of order k?

Category: QuestionsWhat is order of resultant heap after merging two tree of order k?
Editor">Editor Staff asked 4 weeks ago

What is order of resultant heap after merging two tree of order k?
 
(a) 2*k
 
(b) k+1
 
(c) k*k
 
(d) k+logk
 
Asked question is from Binomial and Fibonacci Heap in section Heap of Data Structures & Algorithms I
 
This question was addressed to me in an online quiz.

1 Answers
Editor">Editor Staff answered 4 weeks ago

Right option is (b) k+1
 
Easiest explanation – This could be easily verified by looking at the structure of a binomial heap.