Tombstones and unsuccessful search cost

An open-addressed hash table with 2000 slots uses double hashing. After a long run of insertions and removals it holds 1200 live keys and 400 tombstones; the remaining slots are empty. Treat the live keys and tombstones as scattered at random, and use the uniform-hashing estimate of 1/(1−α)1/(1 - \alpha) probes for an unsuccessful search, where α\alpha is the fraction of slots at which a search cannot stop. Find the expected number of probes for an unsuccessful search now, and after the table is rebuilt into a fresh 2000-slot array that holds only the live keys. Give both to one decimal place.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Double Hashing and Removal Questions: