20/40
Part 4 of 7 · A park with no cyclesLearn and do
The table fills one junction at a time, in Kahn's order
Here is the table, one junction at a time in that order. Each row shows the totals offered by the stretches into it:
cliff hears from birch, 2 + 4, and from ash, 3 + 4. What does best[cliff] keep?
Pick an answer above to see the rest
Start every junction at 0 instead of minus infinity. Then ask for the best route from dell, with falls as the only exit. What comes back?
Pick an answer above to see the rest