Work Note 17, DM206, fall 2008
Exercises December 12
-
For van Emde Boa Trees we needed that
T(n)=T(√n)+1 had solution T(n)∈O(loglog n)
and were motivated by the fact that
T(n)=2T(√n)+1 had solution
T(n)∈Ω(log n).
Prove these two facts.
-
At the lecture, when discussing dynamization, we proposed deleting
elements from a structure by justing marking them as being deleted.
Assume that every time we have completely rebuild the structure
with n elements, we wait n/2 operations and then rebuild again.
Given that construction time is O(n log n), define a potential
function to show that deletion is amortized O(log n),
while insertion remains amortized O(log2 n)
and searching remains O(log2 n).
-
Problem sheet 1 for work note 17.
-
Problem sheet 2 for work note 17.
Last modified: Fri Dec 5 13:57:15 CET 2008
Kim Skak Larsen
(kslarsen@imada.sdu.dk)