1.

The Statement “Fibonacci heap has better amortized running time in compare to a binomial heap”.(a) True(b) FalseMy doubt stems from Binomial and Fibonacci Heap in chapter Heap of Data Structures & Algorithms II got this question in final exam.

Answer»

Correct choice is (a) True

Best explanation: Overall COMPLEXITY of insertion, merging, deleting is in ORDER of O((a+b)logn) For FIBONACCI the complexity REDUCES to O(a+ blogn).



Discussion

No Comment Found

Related InterviewSolutions