Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1883. Minimum Skips to Arrive at Meeting On Time
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source