Data set: Networks & routes (Hard)
Networks & routes
A trekking park has seven camps connected by trails. The table lists every trail and its walking time in minutes; trails can be walked either way, and there are no other trails.
| Link | Time |
|---|---|
| Alder – Birch | 18 |
| Alder – Cedar | 9 |
| Alder – Ginkgo | 18 |
| Birch – Cedar | 14 |
| Birch – Fir | 17 |
| Birch – Ginkgo | 13 |
| Cedar – Deodar | 15 |
| Deodar – Elm | 13 |
| Deodar – Fir | 10 |
| Elm – Fir | 10 |
| Fir – Ginkgo | 4 |
What is the minimum time, in minutes, to travel from Birch to Ginkgo?
Type in the answer (TITA): no options.
Show answer & solution
Correct answer: 13
Solution: Step 1: list the candidate routes from Birch to Ginkgo and add link times. Step 2: the cheapest is Birch → Ginkgo (13); next-best routes: Birch → Fir → Ginkgo (21), Birch → Alder → Ginkgo (36). Step 3: check no other route undercuts it (a full enumeration of all simple paths confirms the minimum is 13). Answer: 13.