Session Details
Week 5,
Session 18 — Tue Jul 3
Preparation
-
Section 7.1. Sorting by Counting. The concept should be review, the applications are new.
-
Section 7.2a Horspool's algorithm for string matching. It's one of the trickier parts of the course, and a good warmup for Boyer-Moore.
HW Due
-
HW 8 (6, because of the holiday)
-
HW08 problems from Levitin
-
Note: Convex Hull implementation is due Day 26. Get started soon!
Topics
-
Find (lexicographic) sequence number of a permutation.
-
Find permutation from sequence number
-
Subsets of a set.
Outline
Resources
-
Slides
HW Assigned
-
HW 8 (5)