Skip to content

Commit

Permalink
Solution to today's problem
Browse files Browse the repository at this point in the history
  • Loading branch information
spannm committed Jul 1, 2024
1 parent 4aa18b2 commit 60fd6d8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*/
class Problem1579 extends LeetcodeProblem {

int maxNumEdgesToRemove(final int _n, final int[][] _edges) {
final int[] rootA = new int[_n + 1];
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];
for (int i = 1; i <= _n; i++) {
rootA[i] = i;
rootB[i] = i;
Expand Down

0 comments on commit 60fd6d8

Please sign in to comment.