Lecture 24

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 good randomized selection algorithm discussed in class to find the k th smallest of these numbers.

Reading assignment

  1. Class notes and sections 4 of http://www.csee.wvu.edu/~ksmani/courses/fa01/random/lecnotes/lecture4.pdf.

Exercises and review questions


Last modified: 6 Dec 2011