Lecture 11

Learning objectives

After this class, you should be able to:

  1. Given input to the rod cutting problem, show the steps taken by the inefficient and efficient algorithms for this problem.
  2. Analyze the time complexity of the above algorithms.
  3. Given a similar problem, give an algorithm, based on dynamic programming, to solve it, and analyze its time complexity.

Reading assignment

  1. Lectures 11-13 slides.
  2. CLR: Section 15.1.
  3. CLR: page 387.
  4. CLR: Chapter 15, page 391.

Exercises and review questions


Last modified: 20 Feb 2017