Recent questions tagged hashing

1 votes
1 answer
211
3 votes
1 answer
213
1 votes
1 answer
214
How do i prove that : : : In hashing n items into a hash table with k locations, the expected number of collisions is $n - k + k( 1-\frac{1}{k})^n$ ??
7 votes
1 answer
215
0 votes
0 answers
216
It took me hell a lot of time. Still cann't figure out question??
0 votes
1 answer
217
Consider a Hash table containing ‘n’ keys and ‘k’ slots. Each key will hash into a slot in the given Hash table. (Assume collisions are resolved by chaining).1)Wh...
0 votes
3 answers
219
A hash table has space for 100 records .what is the probability of collision before it is 5% full?? a. 0.25b. 0.10c. 0.40d. 0.20
1 votes
1 answer
220
0 votes
0 answers
221
2 votes
4 answers
222
0 votes
1 answer
224
Given a hash table with 6 keys and 10 slots, with simple uniform hashing. If collisions are resolved by chaining then the probability that first slot ends up empty?
2 votes
1 answer
228
1 votes
1 answer
233
Consider a hash table of size $m = 10000$, and the hash function $h(K) = floor (m(KA \bmod 1))$ for $A = ( \sqrt{5} – 1)/2$. The key $123456$ is mapped to location ____...
1 votes
1 answer
235
using Method : Fold shift , we can find keythen what use of Fold shift in Hashing
0 votes
1 answer
236
what is the expected number of probs requires when inserting an element into an open address hash table with load factor x (assume uniform hashing)a 1/(1-x)b 1/(1+x)c 1/x...
0 votes
3 answers
237
A chained hash table has an array size of $100$. What is the maximum number of entries that can be placed in the table ?$100$$200$$10000$There is no upper limit
0 votes
4 answers
239
5 votes
3 answers
240
Keys $9,19,29,39,49,59,69$ are inserted into a hash Table of size $10$ $(0-9)$ using the hash function $H = k mod 10$ and Quadratic Probing is used for collision resoluti...