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 5 months 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 5 months ago

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


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