We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa18b2 commit 60fd6d8Copy full SHA for 60fd6d8
src/main/java/io/github/spannm/leetcode/lc1/lc1500/Problem1579.java
@@ -8,9 +8,9 @@
8
*/
9
class Problem1579 extends LeetcodeProblem {
10
11
- int maxNumEdgesToRemove(final int _n, final int[][] _edges) {
12
- final int[] rootA = new int[_n + 1];
13
- final int[] rootB = new int[_n + 1];
+ int maxNumEdgesToRemove(int _n, int[][] _edges) {
+ int[] rootA = new int[_n + 1];
+ int[] rootB = new int[_n + 1];
14
for (int i = 1; i <= _n; i++) {
15
rootA[i] = i;
16
rootB[i] = i;
0 commit comments