The number of trees in a binomial heap with n nodes is

Category: QuestionsThe number of trees in a binomial heap with n nodes is
Editor">Editor Staff asked 1 month ago

The number of trees in a binomial heap with n nodes is
 
(a) logn
 
(b) n
 
(c) nlogn
 
(d) n/2
 
My question is from Binomial and Fibonacci Heap in portion Heap of Data Structures & Algorithms I
 
This question was posed to me in quiz.

1 Answers
Editor">Editor Staff answered 1 month ago

The correct choice is (a) logn
 
The best I can explain: At each depth there is a binomial tree in a binomial heap.