Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1883. Minimum Skips to Arrive at Meeting On Time
Given road lengths and a speed where after each road you must wait until the next integer hour (unless you skip the wait), find the minimum number of skips needed so total travel time ≤ hoursBefore, or return -1 if impossible. The core challenge is handling the cumulative fractional times and ceil-induced waits — typically solved by dynamic programming that tracks the best elapsed time achievable for each number of skips.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.