Work Note 12, DM803, fall 2016

Exercises December 1

  1. Together we will develop known data structures from basic design ideas. First, a balance idea for binary search trees: For any node, the height of its subtrees may differ by at most one. Before the exercises, try to think about the following questions:
  2. The next idea generalizes B-trees that you may know from a database course. The balance idea is that all leaves have the same distance from the root, but the number of children of a node vary between a minimum of a and a maximum of b.
  3. Consider turning skip lists into a deterministic (non-probabilistic) data structure, i.e., instead of choosing the level of an element probabilistically hoping that we get the right mix of levels, we decide that in between to elements of level l, l > 1, we must have exactly one or two elements of level l-1. Rethink properties and operations on the structure.

Lecture December 5

Announcement


Last modified: Wed Nov 30 07:36:17 CET 2016
Kim Skak Larsen (kslarsen@imada.sdu.dk)