COP 4531: Lecture 22

Learning objectives

After this class, you should be able to:

  1. Given a DAG, topologically sort it.
  2. Given a directed graph, find its strongly connected components.
  3. Prove the correctness of the algorithms we discussed, for topological sorting and finding strongly connected components, and give their time complexities.
  4. Given related graph problems, give algorithms to solve them, prove their correctness, and derive their time complexities.
  5. Given incorrect algorithms for similar problems, give counterexamples to disprove them.

Reading assignment

  1. CLR: Sections 22.4 - 22.5.
  2. CLR: Chapter 2, pages 561-562.

Exercises and review questions


Last modified: 4 Apr 2007