1.

What is the time taken to delete a minimum element in a leftist heap?(a) O(N)(b) O(N log N)(c) O(log N)(d) O(M log N)My enquiry is from Heap in portion Heap of Data Structures & Algorithms IThis question was posed to me in my homework.

Answer»

Correct ANSWER is (c) O(log N)

The explanation is: The time TAKEN to delete a minimum element in a LEFTIST HEAP is mathematically found to be O(log N).



Discussion

No Comment Found

Related InterviewSolutions