Search
⌘K

Leetcode 2361. Minimum Costs Using the Train Line

Compute the minimum cost to travel along a train line from a start to a destination given stations, scheduled departures, and multiple fare/ticket options (including transfers and time-limited passes); the core challenge is modeling time-dependent fares and ticket validity as augmented graph states and finding a shortest-path/DP solution over that state space.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.