Nozomi Networks interview question

Implement an algorithm to find the number of days between two dates