Data Structure & Algorithm: Level-1 Problem #50. Date Gap
Given two strings of date, calculate how many days are there in between them. Sample Input: date1 = "2021-04-30", date2 = "2016-11-30" Sample Output: 1612 数据结构和算法:初级练习题 #50 – 日期间隔 给定两个日期字符串,计算它们之间相隔多少天。…