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

+1 vote
by (672k points)
selected by
Best answer
Right option is (b) k+1

Easiest explanation - This could be easily verified by looking at the structure of a binomial heap.

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.