Budget travel within time

Report a typo

Bob is traveling from city AA to city DD via cities BB and CC. There are several ways to get from one city to another, and travel costs and times are different for different mediums. The options are depicted below:

Use the greedy algorithm

Bob wants to travel from city AA to city DD with the lowest possible cost within 15 hours. Is it possible to solve the problem using a greedy algorithm?

Select one option from the list
___

Create a free account to access the full topic