Q3 — Games: Alpha-Beta Pruning Puzzle
The mirror-image puzzle: low values go first, both cuts are alpha-type, and the subtree still resolves to exactly 2.
The Question
A subtree reached from the root's path, entered with window , ; leaves take unique values from . Structure: MIN subtree-root over two MAX squares? — the FN sheet flips the polarities of the AN variant; the keyed data pins the reading:
| # | Question | Official answer |
|---|---|---|
| 3.1 | Optimal eval assignments (A,B,C,D) | 1,3,2,4 / 1,4,2,3 / 2,3,1,4 / 2,4,1,3 |
| 3.2 | Minimax value of the subtree | 2 |
| 3.3 | Cut types (alpha-type, beta-type) | 2,0 |
| 3.4 | Leaves pruned | B,D / D,B |
Deep-dive: browse the CONcepts section for Alpha-Beta.
Deriving the assignment family
Both keyed cut counts and pruned leaves say: two alpha-type cutoffs, killing B and D. Alpha-cuts fire at MIN nodes whose running value drops to . That forces:
- Left square (MIN): first leaf ... more generally triggers instantly; with the entering window's : , B never read.
- After the left child returns its capped value, the parent MAX raises the passing bound so the right square's window opens at :
- Right square (MIN): first leaf kills D before it is read.
Partition constraint over unique values:
giving exactly four assignments:
Any placement with a big value in A's slot reads both left leaves; any small value in C's slot leaves D alive. Two cuts is again the ceiling — first leaves are indispensable.
3.2 — Minimax value → 2
Representative :
All four assignments yield Root = 2 ✓.
3.3 → 2,0 · 3.4 → B, D
Both cutoffs fired on the side (MIN nodes hitting the lower bound), none on — hence 2,0; the unread second leaves are B and D.
Interactive trace
Tricks & Tips
Answers: 3.1 1,3,2,4 / 1,4,2,3 / 2,3,1,4 / 2,4,1,3 · 3.2 2 · 3.3 2,0 · 3.4 B,D