Design and Analysis of Algorithms, Fall'11      Tu,Fri 12-14, D122 (6.9-14.10), Valentin Polishchuk      Exercises: We 16-18(D122), Fri 14-16(D123) (12.9.-14.10), Jouni Sirén

Course code: 582630. 4 credits. Subprogramme: Algorithms and machine learning. Level: Advanced studies.

Prerequisites: the course Data Structures or equivalent. 2009, Spring 2010


Description: General design principles of algorithms. Examples of central problems and typical solutions. Average case analysis. Amortised complexity. Recurrences. NP-completeness.

Course book: T. H. Cormen, C. E. Leiserson, R. L. Rivest, C. Stein: Introduction to Algorithms, 3rd ed., MIT Press, 2009.

Additional material: DAA@MIT.OCW, TCS cheatsheet


Lectures


Problem set 1

  1. Solve the recurrence T(n) = aT(n/b) for a,b>1.
  2. Find un if u0=6, u1=7, u2=15, un+3=2un+2+un+1--2un. (NB: exact formula, not asymptotic.)
  3. CLRS, 3rd ed.: 2.3-7* (don't let the asterisk scare you), 2-4, 4.2-6, 4.2-7. The last two problems are 28.2-5, 28.2-6 in the 2nd ed.
  4. Study Section 15.2 "Matrix-chain multiplication"


Summary of the course feedback (in compliance with the department's new course feedback process)