Low budget travel

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 are different for different mediums. The options are depicted below:

Application of Greedy algorithm

Bob wants to travel from city AA to city DD with the lowest possible cost. Please derive the optimal solution for Bob using the Greedy algorithm and write it below.

Please write your answer in this format: Bus, Train, Train

Enter a short text
___

Create a free account to access the full topic