Skip to content

Commit 603fa88

Browse files
refactor 632
1 parent c4420f5 commit 603fa88

File tree

1 file changed

+0
-24
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-24
lines changed

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,6 @@
33
import java.util.List;
44
import java.util.PriorityQueue;
55

6-
/**
7-
* 632. Smallest Range
8-
*
9-
* You have k lists of sorted integers in ascending order.
10-
* Find the smallest range that includes at least one number from each of the k lists.
11-
12-
We define the range [a,b] is smaller than range [c,d] if b-a < d-c or a < c if b-a == d-c.
13-
14-
Example 1:
15-
Input:[[4,10,15,24,26], [0,9,12,20], [5,18,22,30]]
16-
Output: [20,24]
17-
Explanation:
18-
List 1: [4, 10, 15, 24,26], 24 is in range [20,24].
19-
List 2: [0, 9, 12, 20], 20 is in range [20,24].
20-
List 3: [5, 18, 22, 30], 22 is in range [20,24].
21-
22-
Note:
23-
The given list may contain duplicates, so ascending order means >= here.
24-
1 <= k <= 3500
25-
-105 <= value of elements <= 105.
26-
For Java users, please note that the input type has been changed to List<List<Integer>>.
27-
And after you reset the code template, you'll see this point.
28-
29-
*/
306
public class _632 {
317
public static class Solution1 {
328
/**

0 commit comments

Comments
 (0)