# The book

## The volumes

| Volume | Title | Edition | Exercises |
|---|---|---|---|
| 1 | Fundamental Algorithms | 3rd, 1997 | 861 |
| 2 | Seminumerical Algorithms | 3rd, 1997 | 890 |
| 3 | Sorting and Searching | 2nd, 1998 | 942 |
| 4A | Combinatorial Algorithms, Part 1 | 2011 | 1,464 |
| 4B | Combinatorial Algorithms, Part 2 | 2023 | 1,202 |

The counts come from the private exercise files of the project (spec 07.2). Volume 4B includes the exercises of its front matter, the mathematical preliminaries redux (MPR), and Volume 4A includes the exercises of the opening of Chapter 7.

## The ratings

Each exercise has a rating from 00 to 50. The number estimates the difficulty on a scale that grows fast: 00 is immediate, 20 is about a quarter of an hour, 40 is a term project, and 50 is a research problem. M marks an exercise with more mathematics than programming, and HM an exercise that needs higher mathematics. An arrowhead marks an exercise that Knuth recommends. Volume 1 explains the scale on pages xv to xvii.

| Band | Exercises |
|---|---|
| 00 to 10 | 255 |
| 11 to 20 | 1,253 |
| 21 to 30 | 3,127 |
| 31 to 40 | 490 |
| 41 to 45 | 97 |
| 46 to 49 | 113 |
| 50 | 14 |
| not read yet | 10 |

The exercises rated 46 or more are research problems. Some are solved since the printing, and some are still open. The map gives each one a dated status.

## How to read a node

A node of an exercise has the reference `1.2.6-42` for exercise 42 of Section 1.2.6. The exercises of the front matter of Volume 4B have the reference `MPR-n`, and those of the opening of Chapter 7 have the reference `7-n`. The page of a node gives the rating, the kind of the exercise (spec 06.3), the Lean names of its statement and solution, and its status. It does not give the text of the exercise.
