Bob is traveling from city to city via cities and . There are several ways to get from one city to another, and travel costs are different for different mediums. The options are depicted below:
Bob wants to travel from city to city 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