Minimum Days to Reach Destination with Travel Limit and Hotels
Filed under Media.net
The question
Given a graph where nodes represent cities and edges represent road lengths, find the minimum number of days to travel from a start city to a destination city given a maximum daily travel distance K. A person can rest at cities with hotels, resetting their daily distance traveled to 0.
No write-up yet. Related questions below have one.
Related Media.net questions
Collected from public candidate posts and coding forums. Updated Nov 2026.