11.9 (a) Choose W(i) = 1/N for each item. Then for any access of node X, Rf (X) = 0, and Ri (X) −log N, so the
11.10 (a) To merge two splay trees T1 and T2, we access each node in the smaller tree and insert it into the larger
tree. Each time a node is accessed, it joins a tree that is at least twice as large; thus a node can be inserted log
(b) Port and Moffet [6] suggest the following algorithm: If T2 is the smaller tree, insert its root into T1. Then
11.11 The potential function is c times the number of insertions since the last rehashing step, where c is a constant.
For an insertion that doesn’t require rehashing, the actual time is 1, and the potential increases by c, for a cost
of 1 + c.
11.12 We can (inductively) take a Fibonacci heap consisting of a single degenerate tree that extends as deep as
possible. Insert three very small items; do a deleteMin to force a merge. This leaves two of the newer small