1.

What is the run time efficiency of an insertion algorithm?(a) O(N)(b) O(log N)(c) O(N^2)(d) O(M log N)My doubt stems from Heap topic in section Heap of Data Structures & Algorithms IThis question was addressed to me in my homework.

Answer»

The CORRECT option is (a) O(N)

BEST explanation: The run time EFFICIENCY of an insertion ALGORITHM in a pairing heap is mathematically found to be O(N).



Discussion

No Comment Found

Related InterviewSolutions