The amortized time efficiency for performing deletion of a minimum element is?

Category: QuestionsThe amortized time efficiency for performing deletion of a minimum element is?
Editor">Editor Staff asked 5 months ago

The amortized time efficiency for performing deletion of a minimum element is?
 
(a) O(N)
 
(b) O(log N)
 
(c) O(N^2)
 
(d) O(M log N)
 
I need to ask this question from Heap in chapter Heap of Data Structures & Algorithms I
 
I have been asked this question in semester exam.

1 Answers
Editor">Editor Staff answered 5 months ago

The correct answer is (b) O(log N)
 
Best explanation: The amortized time efficiency for performing deletion of a minimum element 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