1 when donbspm consecutive insertions into a binomial queue


1. When do M consecutive insertions into a binomial queue take less than 2time units?

2. Suppose a binomial queue of = 2- 1 elements is built. Alternately perform insert and deleteMin pairs. Clearly, each operation takes O(log N) time. Why does this not contradict the amortized bound of O(1) for insertion?

3. Show that the amortized bound  of  O(log N)  for  the  skew  heap  operations described in the text cannot be converted to a worst-case bound by giving a sequence of operations that lead to a merge requiring 8(N) time.

4. Show how to merge two skew heaps with one top-down pass and reduce the merge cost to O(1) amortized time.

5. Extend skew heaps to support the decreaseKey operation in O(log N) amortized time.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: 1 when donbspm consecutive insertions into a binomial queue
Reference No:- TGS01274788

Expected delivery within 24 Hours