main page  —  COMP 526 Applied Algorithmics

Unit 3: Efficient Sorting

This unit covers

  • mergesort and quicksort
  • counting sort
  • parallel RAM model
  • parallel prefix sums
  • parallel mergesort and quicksort

Learning outcomes

  1. Know principles and implementation of mergesort.
  2. Know principles and implementation of quicksort.
  3. Know properties and performance characteristics of mergesort and quicksort.
  4. Know the comparison model and understand the corresponding lower bound.
  5. Understand counting sort and how it circumvents the comparison lower bound.
  6. Understand and use the parallel random-access-machine model in its different variants.
  7. Be able to analyze and compare simple shared-memory parallel algorithms by determining parallel time and work.
  8. Understand efficient parallel prefix sum algorithms.
  9. Be able to devise high-level description of parallel quicksort and mergesort methods.

Material


Further reading and sources

More elementary sorting methods are described in detail in Algorithms 4th ed.

The presentation of parallel methods takes some inspiration from Uzi Vishkin’s class notes:


Unit 2  ⋅  Syllabus  ⋅  Unit 4