Lecture 8

Learning objectives

After this class, you should be able to:

  1. Given an input to a sorting algorithm, give the permutation corresponding to it.
  2. Given a sorting algorithm and n, give the decision tree for sorting all permutations of 1, ..., n.
  3. Derive a lower bound on comparison based sorting, and other variants of this problem.
  4. Given a data structure, some operation on it, and a time complexity, show that no algorithm exists to perform that operation with the specified time complexity.

Reading assignment

  1. Lectures 6-9 slides.
  2. CLR: Section 8.1.

Exercises and review questions


Last modified: 21 Aug 2015