1.

Choose the option with function having same complexity for a fibonacci heap.(a) Insertion, Union(b) Insertion, Deletion(c) extract_min, insertion(d) Union, deleteMy question is from Binomial and Fibonacci Heap in portion Heap of Data Structures & Algorithms II had been asked this question by my school teacher while I was bunking the class.

Answer»

The CORRECT option is (a) INSERTION, Union

Easiest explanation - For a FIBONACCI HEAP insertion, union take O(1) while REMAINING take O(logn) time.



Discussion

No Comment Found

Related InterviewSolutions