Given a list of movie lengths and a flight duration, find a pair of movies whose total length is closest to (but not exceeding) the flight duration minus 30 minutes. If ties occur, choose the pair…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.