Lecture 22

Learning objectives

After this class, you should be able to:

  1. Given a sequence of n integers, a number k in [1,n], and a sequence of random numbers, show the steps involved in applying the simple randomized selection algorithm discussed in class to find the k th smallest of these numbers.
  2. Analyze the time complexity of the randomized selection algorithm discussed in class.

Reading assignment

  1. Class notes and handout on randomized selection.

Exercises and review questions


Last modified: 30 Nov 2011