leetle

Daily challenge for 2026-10-11

649. Flight Departure Delay Total

You are given two equal-length lists of scheduled departure times and actual departure times for a set of flights on a single runway on the same day, both represented in minutes from midnight (0 to 1439). Each flight's delay is calculated as max(0, actual - scheduled). Return the total minutes of delay accumulated across all flights.

Example:
Input: scheduled = [600, 720, 800], actual = [615, 710, 830]
Output: 45
Explanation: The delays are 15 minutes (615 - 600), 0 minutes (departed early), and 30 minutes (830 - 800). The total delay is 15 + 0 + 30 = 45.

Run this challenge interactively in Python or JavaScript when the app loads.