What is the amortized cost per operation of a skew heap?

Category: QuestionsWhat is the amortized cost per operation of a skew heap?
Editor">Editor Staff asked 1 month ago

What is the amortized cost per operation of a skew heap?
 
(a) O(N)
 
(b) O(N log N)
 
(c) O(N^2)
 
(d) O(log N)
 
My question is from Heap in division Heap of Data Structures & Algorithms I
 
The question was asked in quiz.

1 Answers
Editor">Editor Staff answered 1 month ago

The correct choice is (d) O(log N)
 
For explanation: The amortized cost per operation of a skew heap is O(log N) since the worst case analysis of skew heap is O(N) and splay tree is O(M log N).