Double Hashing (Module 7) Flashcards

1
Q

What is a secondary hash function used to compute the step size for probing and make each sequence different for each key?

A

double hashing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is double hashing’s primary hash function?

A

hash1(k)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is double hashing’s secondary hash function?

A

hash2(k)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is double hashing’s formula?

A

(hash1(k) + i * hash2(k))mod m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly