CPSC 220
Fall 2007
HW 2: More Review
 Redo problems 3c, 3d, 3e, and 3f from HW 1. Be sure you are comfortable
with both your exact and your bigO answers.
 Write Java code to add an element x to the end of a linked list.
Assume that class LinearNode is defined as on page 128 and that
LinearNode variable front refers to the front of
the list.
 L&C Exercise 10.5.

Simplify each expression below as much as possible:
 (3^{x})(3^{y})
 (3^{x})^{y}
 (3^{x})(9^{y})
 log(xy)
 log(x^{y})
 log_{2}(8n^{2})
 log_{2}(10^{n}/4)