Search
⌘K

Leetcode 1360. Number of Days Between Two Dates

Given two valid dates in "YYYY-MM-DD" format between 1971 and 2100, compute the absolute number of days between them, correctly accounting for leap years and varying month lengths.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.