Skip to content

Commit 9f097eb

Browse files
authored
Refactor find method to improve readability
1 parent c1af810 commit 9f097eb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • src/main/java/g3801_3900/s3887_incremental_even_weighted_cycle_queries

src/main/java/g3801_3900/s3887_incremental_even_weighted_cycle_queries/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ private int find(int x) {
1111
if (parent[x] == x) {
1212
return x;
1313
}
14-
1514
int p = parent[x];
1615
parent[x] = find(parent[x]);
1716
parity[x] ^= parity[p];

0 commit comments

Comments
 (0)