Functional Problem Solving (CSC 151 2015S) : Outlines

Outline 48: An Introduction to Sorting


Held: Monday, 27 April 2015

Back to Outline 47 - Pause for Breath. On to Outline 49 - Insertion Sort.

Summary

We explore the problem of sorting. When you sort a list, vector, or other collection, you put the elements in order. The order of the elements usually corresponds to the type of the elements. We might sort strings alphabetically, grades numerically, colors by brightness, and so on and so forth.

Related Pages

Overview

Administrivia

Upcoming Work

Extra Credit Opportunities

Academic

Peer Support (Morning Section)

Peer Support (Afternoon Section)

Miscellaneous

Other Good Things (no extra credit)

Notes on the Exam

Notes on the Project

The Problem of Sorting

Designing Sorting Algorithms

Sample Sorting Algorithms

=== Insertion Sort

=== Selection Sort

A More Formal Description