Computer Science 211
Data Structures

Mount Holyoke College
Fall 2009


Lecture 11: Advanced Sorting Algorithms; Sorting Correctness and Complexity Proofs
Date: Monday, October 5, 2009

Agenda

Examples

Lecture Assignment

Due at the start of class, Wednesday, October 7.

Turn in short answers to these questions. Please turn in a hard copy (typeset or handwritten are OK). We will discuss these problems during class, so no late submissions are accepted.

  1. Bailey Problem 6.18, p. 146.
  2. Prove the complexity of the recursive insertion sort code in the SortingComparisons example.
  3. Prove the correctness of the recursive insertion sort code in the SortingComparisons example.