Exam-style question
Try this first
Which is an application of a shortest path algorithm?.
- A.Finding a route between locations with the least total distance
- B.Storing a large file in a compressed format
- C.Checking whether a password contains a number
- D.Sorting a list into alphabetical order
Answer and explanation
Concise answer
Finding a route between locations with the least total distance
Why this is correct
Shortest path algorithms can be used to find efficient routes through a network, such as routes between locations.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
