Exercise 4.4 Trees courtesy of Joel Wallenberg. Red boxes in c and arrows elsewhere indicate recursive node pairs.

a.

b.

c.

d.

e.

f.