Learn · Volume 1 · in the Volume 1 course
Section 2.2.4. Circular lists
18 exercises: 18 with a written solution, 0 stated in Lean, 0 proved in Lean.
1. Read first
The companion chapter builds on these. Read the ones you do not know yet.
- C2.2.3, in C2. Information structures not written yet
- C1.3.1, in C1. Basic concepts not written yet
2. Read the section
Read Section 2.2.4 in your copy of the book. Then read the companion chapter Circular lists (a draft): it explains each item in the words of the handbook, with examples and proofs. The items of the section and their status.
3. Work the exercises
The exercises of this section fall in three groups. Exercises 1 to 5 and 18 are about the circular list itself: the empty list, concatenation and splitting, the stack, reversal, and a list with one link per node that can be walked both ways. Exercises 6 to 10 and 17 ask why the polynomial representation of the text is made as it is.
Exercises 11 to 16 build a small package of MIX subroutines for polynomials: copy, erase, make zero, and multiply, together with the time of the last one. Do Exercises 11, 13 and 14 first, then 15 and 16, which reuse Program A of the text. The listings here are written fresh and were run on a simulator of MIX against random polynomials.
From the Solutions volume of the handbook. The source.
The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.
| Exercise | Rating | Kind | Solution | Lean |
|---|---|---|---|---|
| 2.2.4-7 | 10 | informal | written | not stated yet |
| 2.2.4-8 | 10 | informal | written | not stated yet |
| 2.2.4-6 | 18 | K8 | written | not stated yet |
| 2.2.4-2 | 20 | K8 | written | not stated yet |
| 2.2.4-3 | 20 | K3 | written | not stated yet |
| 2.2.4-4 | 20 | K5 | written | not stated yet |
| 2.2.4-10 | 20 | K3 | written | not stated yet |
| 2.2.4-13 | 20 | K6 | written | not stated yet |
| 2.2.4-1 | 21 | K2 | written | not stated yet |
| 2.2.4-5 | 21 | K5 | written | not stated yet |
| 2.2.4-12 | 21 | K7 | written | not stated yet |
| 2.2.4-14 | 22 | K6 | written | not stated yet |
| 2.2.4-17 | 22 | informal | written | not stated yet |
| 2.2.4-9 | 23 | K2 | written | not stated yet |
| 2.2.4-11 | 24 | K6 | written | not stated yet |
| 2.2.4-15 | 24 | K6 | written | not stated yet |
| 2.2.4-18 | 25 | K5 | written | not stated yet |
| 2.2.4-16 | M28 | K4 | written | not stated yet |
Something is wrong? Report it.