1.

Which of these operations have same complexities?(a) Insertion, find_min(b) Find_min, union(c) Union, Insertion(d) Deletion, Find _maxQuery is from Binomial and Fibonacci Heap in section Heap of Data Structures & Algorithms IThis question was posed to me in an online quiz.

Answer»

Correct OPTION is (c) Union, Insertion

The best I can explain: With proper implementation USING link list find_min and find_max operation can be done in O(1), while the REMAINING takes O(LOGN) TIME.



Discussion

No Comment Found

Related InterviewSolutions