Return the minutes since the last bus departed.
Unlock detailed company stats for this questionUpgrade
Given a sorted array of bus departure times and the current time, return current time minus the last departed time in minutes. Example: ["12:30", "14:30"] with current time 14:00 gives 90. Example: ["00:00", "02:00"] with current time 00:00 gives -1, since no bus has departed before it.
Community answers
No answers contributed by the community yet.
Related questions
Return the departure time of the last bus before the current time.Return the top 5 posts by score in the last 30 minutes.Related courses

Course

Course
Course
