Skip to content

Commit 011fed0

Browse files
refactor 1360
1 parent b8030b0 commit 011fed0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/main/java/com/fishercoder/solutions/_1360.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 1360. Number of Days Between Two Dates
5-
*
6-
* Write a program to count the number of days between two dates.
7-
* The two dates are given as strings, their format is YYYY-MM-DD as shown in the examples.
8-
*
9-
* Example 1:
10-
* Input: date1 = "2019-06-29", date2 = "2019-06-30"
11-
* Output: 1
12-
*
13-
* Example 2:
14-
* Input: date1 = "2020-01-15", date2 = "2019-12-31"
15-
* Output: 15
16-
*
17-
* Constraints:
18-
* The given dates are valid dates between the years 1971 and 2100.
19-
* */
203
public class _1360 {
214
public static class Solution1 {
225
public int daysBetweenDates(String date1, String date2) {

0 commit comments

Comments
 (0)