Lesson 27: Divided we conquer

Outline:

  1. Questions?
  2. Review of selection sort
  3. Another sort: Insertion sort
  4. Review of recursion
    • counting even elements in a list
  5. Merge sort
    • algorithm and example
    • runtime: Exercise

What’s next

Upcoming events/assessments:

  • Your Project Writeup is due tonight Wednesday (your final code is due tonight)

What you should do now:

Reading assignment (to be completed by the next class):

  • Runestone: Insertion Sort
  • Zelle sections 14.3.2–14.3.3 (pp. 493–498)