957 views
4 votes
4 votes

Loading Question

1 Answer

1 votes
1 votes
First of all do the normal hasihng table. Remember search will be succesfull only if you are hased to any one of the * record in table.

Therefore, No of succesfull probes=Total no of probes for each of the record / Total records in table=13/8=1.6

we can be hashed to any of the entry and still we can have a unsuccesfull search,

Therefore No of probes for unsuccesfull search=

Total no of probes from each hash value to make a unsuccesfull search / Total capacity of table

=(8+7+6+5+4+3+2+2+3)/11=3.6

Related questions

517
views
1 answers
0 votes
Karthi2003 asked Nov 7, 2022
517 views
Consider the last four digits of your register number and form the following numbers:1. first digit2. second digit3. third digit4. fourth digit5. 2 digit number with the ...
253
views
2 answers
0 votes
go_editor asked Mar 27, 2020
253 views
A hash function $f$ defined as $f(\text{key}) =\text{key mod}$ $7$, with linear probing it is used to insert the key $37,38,72,48,98,11,56$ into a table index from $0$ to...
269
views
0 answers
0 votes
GO Classes asked Feb 4
269 views
Hashing question: Given alpha asking for the expected no of probes.Consider the average time complexity in an unsuccessful search for open-addressing hashing with linear ...