#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 1::2.4 Multilinked Structures
#columns:Front	Back	Tags
TAOCP §2.4 Multilinked Structures: what does it cover?	Nodes that belong to several lists at once, illustrated by how a compiler for a COBOL-like language stores nested data declarations and implements a &quot;move corresponding fields&quot; operation.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::about
TAOCP §2.4: why does it matter?	Symbol tables, ORMs and many in-memory databases use multilinked nodes. It is also a peek at real compiler engineering from the 1960s.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::why
TAOCP §2.4, a common trap: “Getting lost in COBOL semantics.” What's the catch?	Focus on the data structure.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::trap
TAOCP §2.4, exercise 1 (rated 00): what is it asking?	Which traversal order the level-numbered declarations follow.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 7 (rated 15): what is it asking?	Work out what one move-corresponding statement does on the text's data.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 8 (rated 10): what is it asking?	When moving corresponding fields is the same as a plain move.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 3 (rated 22): what is it asking?	Handle arbitrary level-number sequences in the table builder.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 4 (rated 26, recommended): what is it asking?	Make the table builder reject one class of malformed declarations.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 11 (rated 23, recommended): what is it asking?	Find extra links or strategy changes that speed up the lookups.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 13 (rated 24, recommended): what is it asking?	Rewrite the table builder for a compact sequential format.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4, exercise 14 (rated 28, recommended): what is it asking?	Rewrite the corresponding-fields search for that format. The stretch.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercise
TAOCP §2.4: how many exercises, and how are they rated?	15 exercises, rated 00 to 28.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::exercises
TAOCP §2.4: what should you be comfortable with first?	<ul><li>2.3 Trees</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::prereqs
TAOCP §2.4: how should you work through it?	Read the problem statement carefully and sketch the data layout yourself before reading Knuth's design. The details of COBOL are not important; the structure design is.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.4 cracked.guide::kind::approach
