taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Learn · Volume 1 · in the Volume 1 course

Section 2.2.6

24 exercises: 24 with a written solution, 0 stated in Lean, 0 proved in Lean.

1. Read first

The handbook has no chapter for this section yet, so it names nothing to read first.

2. Read the section

Read Section 2.2.6 in your copy of the book. The companion chapter is not written yet. The items of the section and their status.

3. Work the exercises

Section 2.2.6 Arrays and Orthogonal Lists

The exercises of this section train three skills: to find allocation functions for arrays in sequential memory by counting the elements that come before a given one, to follow Algorithm S for the pivot step on a sparse matrix in the form of orthogonal circular lists, and to design algorithms on that form (copy, product, inverse). Two exercises (22 and 24) are small tricks of general use: a polynomial numbering of all vectors and an array that needs no clearing.

A good order is to start with exercises 11, 1, 5, 12, 20 and 21, then 2, 3, 4, 9, 13, 14 and 18, then 7, 23, 6, 16, 22 and 24. Leave exercises 10, 17, 15, 19 and 8 for the end. Exercise 15 (the program) is easier after exercise 12, and exercise 19 after exercises 16, 17 and 18.

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.

ExerciseRatingKindSolutionLean
2.2.6-1111K3writtennot stated yet
2.2.6-117K3writtennot stated yet
2.2.6-520K6writtennot stated yet
2.2.6-12 recommended20K3writtennot stated yet
2.2.6-2020K1writtennot stated yet
2.2.6-2120K3writtennot stated yet
2.2.6-2 recommended21K3writtennot stated yet
2.2.6-321K3writtennot stated yet
2.2.6-422K3writtennot stated yet
2.2.6-922K5writtennot stated yet
2.2.6-13 recommended22informalwrittennot stated yet
2.2.6-1422K5writtennot stated yet
2.2.6-1822K8writtennot stated yet
2.2.6-7M23K3writtennot stated yet
2.2.6-2323K3writtennot stated yet
2.2.6-6 recommendedM24K1writtennot stated yet
2.2.6-1625K5writtennot stated yet
2.2.6-22M25K3writtennot stated yet
2.2.6-24 recommended25K5writtennot stated yet
2.2.6-1026informalwrittennot stated yet
2.2.6-1726K5writtennot stated yet
2.2.6-15 recommended29K6writtennot stated yet
2.2.6-1931K5writtennot stated yet
2.2.6-833K5writtennot stated yet

Something is wrong? Report it.