Find the smallest speed that lets you reach the office before the deadline.
Constraints
Example
>>> min_speed_on_time([1,3,2], 6) 1 >>> min_speed_on_time([1,3,2], 2.7) 3 >>> min_speed_on_time([1,3,2], 1.9) -1
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints