Given a current time and a list of shuttle departure times, all formatted as 'HH:MM' in 24-hour time, calculate the minimum wait time in minutes until the next available shuttle.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.