Back to problems

Earliest Arrival Time with Bus Schedules (Time-Dependent Shortest Path)

Algorithm · Apple · Hard

Problem: Minimum Arrival Timestamp Under Bus Timetables (Time-Dependent Shortest Path) You receive schedule and operating information for multiple bus lines. Every line specifies: Its stops in travel order. The travel duration, in minutes, for each adjacent stop pair. The dwell or wait duration, in minutes, at each stop. For a requested journey, you are given: a starting stop start a target stop end a starting timestamp t0, expressed as an integer number of minutes Determine…

Checking your access…