#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 1::2.3.4 Basic Mathematical Properties of Trees (part 1)
#columns:Front	Back	Tags
TAOCP §2.3.4 Basic Mathematical Properties of Trees (part 1): what does it cover?	Part 1 covers the first three subsections: free trees (connected graphs without cycles) and spanning trees, including using Kirchhoff's law to count how often each part of a flowchart runs; oriented trees and directed graphs, including Euler circuits; and the infinity lemma about infinite trees with finite branching.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::about
TAOCP §2.3.4 (part 1): why does it matter?	This is the bridge between data-structure trees and graph theory. Spanning trees show up in networking, clustering and circuit design.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::why
TAOCP §2.3.4 (part 1): what traps should you watch for?	<ul><li>Mixing up free trees (no root) and oriented trees (with a root and direction).</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::traps
TAOCP §2.3.4 (part 1), exercise 2 of §2.3.4.1 (rated M20): what is it asking?	Show any path can be trimmed down to a simple path.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 10 of §2.3.4.1 (rated 16): what is it asking?	Connect n terminals with as few wires as possible, and see why a spanning tree is the answer.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 6 of §2.3.4.1 (rated M27, recommended): what is it asking?	Pick a spanning tree out of an edge list efficiently, or report there is none.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 4 of §2.3.4.2 (rated M20, recommended): what is it asking?	Show a directed graph can be topologically sorted exactly when it has no oriented cycles.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 7 of §2.3.4.2 (rated M22, recommended): what is it asking?	Decide whether a condition in the definition of an oriented tree can be dropped.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 10 of §2.3.4.2 (rated 22): what is it asking?	Re-root a tree stored as a parent table.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 3 of §2.3.4.3 (rated M23, recommended): what is it asking?	Quadrant tiling versus plane tiling. An infinity lemma workout.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1), exercise 12 of §2.3.4.1 (rated 29, recommended): what is it asking?	Turn a minimum spanning tree method into an implementable algorithm with real data structures. The stretch.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercise
TAOCP §2.3.4 (part 1): how many exercises, and how are they rated?	49 exercises, rated M10 to HM40.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::exercises
TAOCP §2.3.4 (part 1): what should you be comfortable with first?	<ul><li>2.3.1 to 2.3.3</li><li>1.2.1 Mathematical Induction</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::prereqs
TAOCP §2.3.4 (part 1): how should you work through it?	Draw lots of small graphs. Prove to yourself that a tree on n vertices has n - 1 edges. Read 2.3.4.1 to 2.3.4.3 carefully; the infinity lemma is short but subtle.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::2.3.4 cracked.guide::kind::approach
