What is the time taken to delete a minimum element in a leftist heap?

Category: QuestionsWhat is the time taken to delete a minimum element in a leftist heap?
Editor">Editor Staff asked 5 months ago

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 I
 
This question was posed to me in my homework.

1 Answers
Editor">Editor Staff answered 5 months ago

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).


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702