1.

What is the run time efficiency of delete-min operation?(a) O(log N)(b) O(logd N)(c) O(d logd N)(d) O(d)Origin of the question is Heap in section Heap of Data Structures & Algorithms II have been asked this question in an online interview.

Answer»

The correct answer is (C) O(d logd N)

EXPLANATION: The run time efficiency of a delete-min ALGORITHM USING d-1 comparisons is mathematically FOUND to be O(d logd N).



Discussion

No Comment Found

Related InterviewSolutions