COP 4531: Lecture 10

Learning objectives

After this class, you should be able to:

  1. Given an array and a sequence of random numbers, show how randomized quicksort will sort the array.
  2. Analyze the worst case and average case time complexities of quicksort.
  3. Given a problem, choose a suitable sorting algorithm that will be efficient for that problem.

Reading assignment

  1. CLR: Sections 7.3 - 7.4.
  2. CLR: Chapter 8, page 166.

Exercises and review questions


Last modified: 14 Feb 2007