File tree 2 files changed +6
-6
lines changed
main/java/com/fishercoder/solutions
test/java/com/fishercoder
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
import java .util .Map ;
5
5
6
6
/**
7
- * 1013 . Pairs of Songs With Total Durations Divisible by 60
7
+ * 1010 . Pairs of Songs With Total Durations Divisible by 60
8
8
*
9
9
* In a list of songs, the i-th song has a duration of time[i] seconds.
10
10
*
29
29
* 1 <= time.length <= 60000
30
30
* 1 <= time[i] <= 500
31
31
* */
32
- public class _1013 {
32
+ public class _1010 {
33
33
public static class Solution1 {
34
34
/**Credit: https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60/discuss/256726/Java-O(n)-code-w-comment-similar-to-Two-Sum
35
35
*
Original file line number Diff line number Diff line change 1
1
package com .fishercoder ;
2
2
3
- import com .fishercoder .solutions ._1013 ;
3
+ import com .fishercoder .solutions ._1010 ;
4
4
import org .junit .BeforeClass ;
5
5
import org .junit .Test ;
6
6
7
7
import static org .junit .Assert .assertEquals ;
8
8
9
- public class _1013Test {
10
- private static _1013 .Solution1 solution1 ;
9
+ public class _1010Test {
10
+ private static _1010 .Solution1 solution1 ;
11
11
private static int [] time ;
12
12
13
13
@ BeforeClass
14
14
public static void setup () {
15
- solution1 = new _1013 .Solution1 ();
15
+ solution1 = new _1010 .Solution1 ();
16
16
}
17
17
18
18
@ Test
You can’t perform that action at this time.
0 commit comments