1.

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

Answer»

The CORRECT CHOICE is (a) logn

The best I can explain: At each DEPTH there is a BINOMIAL tree in a binomial HEAP.



Discussion

No Comment Found

Related InterviewSolutions