CSE 131 / 501N (Fall 2013)
Recitation Questions

Because this module concerns recursion, your answers to the problems below must involve recursive solutions. No credit will be given for non-recursive answers.
  1. For each of the following functions, write a Java method that computes the function's values.
  2. For each of the following, identify the substructure and write a recursive method to compute the function.
  3. For any of the above, be able to apply the subsitution model for reasonably small values of input parameters.
  4. For any of the above, be able to identify the base case, and be able to state the values for which your method is valid.
  5. Sedgewick 2.3.32 on page 285 (it's what you did for lab)