HW Number 3

Due October 16, 2014


Guidelines


The Problems (taken from Skiena's The Algorithm Design Manual 2nd Edition)

  1. 5-6
  2. 5-4
  3. 5-10
  4. 5-17
  5. 5-23
  6. Extra Credit: email me working code for programming challenge 5-5 "Tower of Cubes" (UVA judge 10051). For flavor:

    In this problem you are given N colorful cubes each having a distinct weight. Each face of a cube is colored with one color. Your job is to build a tower using the cubes you have subject to the following restrictions: