1.

What is the time taken to perform a delete min operation?(a) O(N)(b) O(N log N)(c) O(log N)(d) O(N^2)This question was addressed to me in an online quiz.This is a very interesting question from Heapsort in division Sorting of Data Structures & Algorithms II

Answer»

Correct option is (C) O(log N)

The best I can explain: The time TAKEN to perform a DELETION of a minimum ELEMENT is mathematically FOUND to be O( log N).



Discussion

No Comment Found

Related InterviewSolutions