Problem 2409 · Easy
Turn each date into a day of the year, then count the days from the later arrival to the earlier departure.
Open the interactive visualisation