recategorized by
4,859 views
5 votes
5 votes

A Hash Function $f$ defined as $f(key)= key \mod 7$. With linear probing while inserting the keys $37,38,72,48,98,11,56$ into a table indexed from $0$, in which location key $11$ will be stored (Count table index $0$ as $0^{th}$ location)? 

  1. 3
  2. 4
  3. 5
  4. 6
recategorized by

1 Answer

Best answer
11 votes
11 votes
Location Key
0 98
1 56
2 37
3 38
4 72
5 11
6 48

11 will store in location 5.

selected by
Answer:

Related questions

2 votes
2 votes
1 answer
2
0 votes
0 votes
1 answer
3
Ray Tomlinson asked Aug 9, 2023
506 views
Numerical Answer Type Que?(please Try to give some ahortcut trick also or important concept is there to solve that question )