Choose the option with function having same complexity for a fibonacci heap.

Category: QuestionsChoose the option with function having same complexity for a fibonacci heap.
Editor">Editor Staff asked 5 months ago

Choose the option with function having same complexity for a fibonacci heap.
 
(a) Insertion, Union
 
(b) Insertion, Deletion
 
(c) extract_min, insertion
 
(d) Union, delete
 
My question is from Binomial and Fibonacci Heap in portion Heap of Data Structures & Algorithms I
 
I had been asked this question by my school teacher while I was bunking the class.

1 Answers
Editor">Editor Staff answered 5 months ago

The correct option is (a) Insertion, Union
 
Easiest explanation – For a fibonacci heap insertion, union take O(1) while remaining take O(logn) time.


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