You are given an integer array dist of length n, where dist[i] represents the distance of the speed and hoursBefore.
You traverse each road segment in sequential order at a constant speed of speed. After completing road segment
Return the minimum number of skips needed to reach your destination within hoursBefore hours, or
Constraints:
n == dist.length
n
dist[i]
speed
hoursBefore
You are given an integer array dist of length n, where dist[i] represents the distance of the speed and hoursBefore.
You traverse each road segment in sequential order at a constant speed of speed. After completing road segment
Return the minimum number of skips needed to reach your destination within hoursBefore hours, or
Constraints:
n == dist.length
n
dist[i]
speed
hoursBefore