We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70ecd3 commit 3618cdaCopy full SHA for 3618cda
src/main/java/g2701_2800/s2732_find_a_good_subset_of_the_matrix/Solution.java
@@ -8,10 +8,10 @@
8
import java.util.List;
9
10
public class Solution {
11
- private static int[] arr = new int[32];
+ private int[] arr = new int[32];
12
13
public List<Integer> goodSubsetofBinaryMatrix(int[][] grid) {
14
- List<Integer> list = new ArrayList<Integer>();
+ List<Integer> list = new ArrayList<>();
15
int n = grid.length;
16
Arrays.fill(arr, -1);
17
for (int i = 0; i < n; ++i) {
0 commit comments