In a directed weighted graph the edges are A→B (4), A→C (1), C→B (2), B→D (1) and C→D (5). What is the length of the shortest path from A to D?
- A4
- B5
- C6
- D7
Correct answer: A
In a directed weighted graph the edges are A→B (4), A→C (1), C→B (2), B→D (1) and C→D (5). What is the length of the shortest path from A to D?