Lecture 12

Learning objectives

After this class, you should be able to:

  1. Given two sequences of letters, their similarity matrix, and the gap penalty, determine the best global alignment for the two sequences using Hirschberg's algorithm.
  2. Analyze the time complexity of the above algorithm.
  3. Given a similar problem, give an algorithm, based on dynamic programming, to solve it, and analyze its time complexity.

Reading assignment

  1. Hirschberg algorithm slides.
  2. CLR: page 387.
  3. CLR: Chapter 15, page 391.

Exercises and review questions


Last modified: 1 Oct 2015