#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 3::5.4.4 Reading Tape Backwards
#columns:Front	Back	Tags
TAOCP §5.4.4 Reading Tape Backwards: what does it cover?	Merge patterns that avoid rewinding by reading tapes backward, which flips the order of runs and changes the bookkeeping.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::about
TAOCP §5.4.4: why does it matter?	Honest note: the tape-merging sections describe hardware nobody uses anymore. Knuth himself says much of 5.4 is historical. The ideas (run generation, merge patterns, minimizing passes over slow storage) still apply to external sorting on disks and SSDs, database sort operators and big-data shuffles, so read for those ideas and skim the tape mechanics.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::why
TAOCP §5.4.4, exercise 6 (rated 07): what is it asking?	Convert a merge pattern from tree form to vector form.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 1 (rated 17): what is it asking?	How to adapt end-of-run sentinels when reading tapes backward.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 3 (rated 20, recommended): what is it asking?	Show read-backward polyphase ends with an ascending run on the right tape.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 11 (rated 20, recommended): what is it asking?	True or false: backward-reading merges must alternate ascending and descending runs.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 19 (rated 22, recommended): what is it asking?	Find a binary tree that is not 3-fifo. Gets you into Karp's model.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 20 (rated 22, recommended): what is it asking?	State the strongly-fifo condition as a rule about tape labels.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 5 (rated 23, recommended): what is it asking?	Redo the polyphase merge-number formulas for reading backward.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4, exercise 17 (rated 28, recommended): what is it asking?	Design an initial distribution for read-backward cascade that ends in ascending order. The stretch.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercise
TAOCP §5.4.4: how many exercises, and how are they rated?	26 exercises, rated 07 to M46.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::exercises
TAOCP §5.4.4: what should you be comfortable with first?	<ul><li>5.4.2 The Polyphase Merge</li></ul>	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::prereqs
TAOCP §5.4.4: how should you work through it?	Skim for the idea. Use the spare time on 5.4.1 or on earlier Vol 3 exercises.	cracked.guide cracked.guide::phase::taocp-3 cracked.guide::section::5.4.4 cracked.guide::kind::approach
