in DS recategorized by
1,074 views
2 votes
2 votes

A hash table with $10$ buckets with one slot per bucket is depicted. The symbols, $S1$ to $S7$ are initially emerged using a hashing function with linear probing. Maximum number of comparisons needed in searching an item that is not present is 

  1. $6$
  2. $5$
  3. $4$
  4. $3$
in DS recategorized by
by
1.1k views

1 comment

Please provide the full question because hash table diagram is not visible
0
0

2 Answers

2 votes
2 votes

B is the answer, it asks about the number of conflicts u will get whenever you tried to search for an empty slot so that u can fill it.

let you want to insert 88 but the 8th poz is filled then u will go for probing which will take a max of 5 steps to find an empty slot thus it is the answer.

1 vote
1 vote
Answer:

Related questions