Recent questions tagged hashing

2 votes
1 answer
151
WHICH OF THE FOLLOWING IS THE BEST CHOICE AS $m$ IN THE HASH FUNCTION $h(k)=k \mod m$??$61$$701$$81$answer is given as $701$ but how??
0 votes
0 answers
152
0 votes
1 answer
153
1 votes
1 answer
154
A hash table is used when number of keys actually stored it any point of time is small as compared to the number of possible keys.please explain this line with suitable e...
4 votes
2 answers
155
A hash table with $10$ buckets with one slot pet per bucket is depicted here. The symbols, $S1$ to $S7$ are initially entered using a hashing function with linear probing...
0 votes
1 answer
156
Let |U| = $m^{2}$and consider hashing with chaining. For any hash function h : U → {1, 2, . . . , m − 1}, there exists a sequence of m insertions that leads to a cha...
0 votes
1 answer
158
Can someone explain Secondary Clustering to me? The distance between two successive probes is quadratic. I get it, but how are clusters being formed?
0 votes
1 answer
159
Which of the following is not used for hash function?Mid-square methodDivision methodFolding methodProbe method
6 votes
0 answers
161
Please explain primary and secondary clustering in brief. I tend to forget their difference because their definitions seem quite similar to me. And also, which one is tru...
5 votes
0 answers
164
Consider a hash table with 10 slots. Collisions are resolved using linear probing. The probability that if first 3 slots are unfilled and 4th insertions leads to a collis...
2 votes
0 answers
165
5 votes
2 answers
167
1 votes
2 answers
168
0 votes
1 answer
169
i have done it like this.....(1/8)3+ 7/(8)3=8-2 .....how this is wrong...???
0 votes
2 answers
171
S1 :- if load factor of hash table is less than 1 then there are no collisionS2:- As the size of hash table increases, the number of collisions will decrease.True false?
1 votes
1 answer
174
Que: When key values are real, a similar data representation might be produced by using a hashing function with?A. ModB. DivC. TruncD. Log N
2 votes
1 answer
176
difference between unsuccessful and successful probe?
0 votes
0 answers
177
1 votes
0 answers
180