Recent questions tagged hashing

0 votes
0 answers
151
0 votes
1 answer
152
1 votes
1 answer
153
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
154
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
155
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
157
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
158
Which of the following is not used for hash function?Mid-square methodDivision methodFolding methodProbe method
6 votes
0 answers
160
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
163
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
164
5 votes
2 answers
166
1 votes
2 answers
167
0 votes
1 answer
168
i have done it like this.....(1/8)3+ 7/(8)3=8-2 .....how this is wrong...???
0 votes
2 answers
170
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
173
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
175
difference between unsuccessful and successful probe?
0 votes
0 answers
176
1 votes
0 answers
179
1 votes
1 answer
180
In a hash table of size 6, currently the locations 0, 2, 4 and 5 are occupied. The probability of a new record going into location 1, with a hash function resolving colli...