hashing Flashcards
1
Q
colisions
A
linear probing
quadratic probing
double hash probing
2
Q
linear probing advan and dis
A
H(k) = [h(k) + i] mod m
A = cache
B = clusters
3
Q
quadratic probing advan and dis
A
H(k) = [h(k) + i^2] mod m
A ~ clusters
D ~ cache
4
Q
double hash probing
A
H(k) = [h1(k) + ih2(k)] mod m
A = clusters
D = cache
5
Q
cuckoo hashing
A
utiliza 2 tablas de hash, en donde los elementos tienen 2 keys distintas para cada tabla
insert O(1)
delete O(1)
search O(1)
6
Q
hopscotch
A
the use of a bit map to see which positions their in
insert O(1)
delete O(1)
search O(1)