Question: Suppose that instead of contracting a table by halving its size when its load factor drops below 1/4, we contract it by multiplying its size

Suppose that instead of contracting a table by halving its size when its load factor drops below 1/4, we contract it by multiplying its size by 2/3 when its load factor drops below 1/3. Using the potential function

() |2 . . .size

show that the amortized cost of a TABLE-DELETE that uses this strategy is bounded above by a constant.

() |2 . . .size

Step by Step Solution

3.29 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The amortized cost of a TABLEDELETE that uses the strategy of contracting a table by multiplying it... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction to Algorithms Questions!