Work Note 9, DM803, fall 2016
Exercises November 10
-
If you were to implement cuckoo hashing, you would of course like
to fine-tune the idea. Other than choices of the constants involved
such as ε, c, etc., which possible variants of
the basic idea could one consider? No analysis expected here!
-
For this exercise, recall the material on universal and perfect hashing.
We want to remove duplicates from a collection of elements
S of size n to form S' of size n'
in expected time O(n) under the constraints given
below (one at a time). Suggest (increasingly complex) solutions for
the three cases.
-
Space O(n).
-
Space O(n') where n' is known.
-
Space O(n') where n' is unknown.
-
I will lecture on the topic of properties of hashing that I
didn't manage to cover at the lecture [LN-Hash].
Lecture November 14
-
Van Emde Boas Trees [F03].
-
X- and Y-Fast Tries [W83].
Last modified: Mon Nov 7 15:12:18 CET 2016
Kim Skak Larsen
(kslarsen@imada.sdu.dk)