Bob is traveling from city to city via cities and . 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:
Bob wants to travel from city to city with the lowest possible cost within 15 hours. Is it possible to solve the problem using a greedy algorithm?