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.3.1

37 exercises: 37 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.3.1 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

The exercises of Section 2.3.1 train three skills: to compute and to compare the traversal orders of a binary tree, to design and to prove stack algorithms and threaded-tree algorithms, and to handle the links of threaded trees (insertion, copying, erasing, moving). Exercises 3 to 8 are proofs about the orders, exercises 12 to 22 are algorithms, and exercises 25 to 29 and 36 study the ordering of trees.

A good order by rating is: 28, 1, 2, 15, then the exercises of rating 20 (3, 4, 8, 9, 10, 14, 24), then 32, 5, 6, 7, 12, 16, 17, 23, 30, 34, 20, 31, 36, 13, 18, 25, 26, 37, 29, 22, 19, 27, 33, 21. Exercises 35 and 11 are open-ended and come last.

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.3.1-2800K2writtennot stated yet
2.3.1-101K3writtennot stated yet
2.3.1-211K8writtennot stated yet
2.3.1-1515K3writtennot stated yet
2.3.1-320K2writtennot stated yet
2.3.1-420K1writtennot stated yet
2.3.1-820K3writtennot stated yet
2.3.1-9M20K8writtennot stated yet
2.3.1-1020K3writtennot stated yet
2.3.1-1420K1writtennot stated yet
2.3.1-24M20K2writtennot stated yet
2.3.1-3221K5writtennot stated yet
2.3.1-522K1writtennot stated yet
2.3.1-6M22K1writtennot stated yet
2.3.1-722K1writtennot stated yet
2.3.1-1222K5writtennot stated yet
2.3.1-1622K3writtennot stated yet
2.3.1-1722K5writtennot stated yet
2.3.1-2322K5writtennot stated yet
2.3.1-3022K5writtennot stated yet
2.3.1-3422K5writtennot stated yet
2.3.1-2023K6writtennot stated yet
2.3.1-3123K5writtennot stated yet
2.3.1-36M23K2writtennot stated yet
2.3.1-1324K5writtennot stated yet
2.3.1-1824K5writtennot stated yet
2.3.1-25M24K1writtennot stated yet
2.3.1-26M24K1writtennot stated yet
2.3.1-3724K5writtennot stated yet
2.3.1-2225K6writtennot stated yet
2.3.1-29M25K1writtennot stated yet
2.3.1-1927K5writtennot stated yet
2.3.1-2728K5writtennot stated yet
2.3.1-3330K5writtennot stated yet
2.3.1-2133K5writtennot stated yet
2.3.1-3540informalwrittennot stated yet
2.3.1-11HM41K4writtennot stated yet

Something is wrong? Report it.