Domanda di colloquio di Apple

Difference between two dates from scratch with leap year edge cases