Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0bcd06d

Browse files
committedMar 23, 2025·
Fixed style
1 parent 9228a11 commit 0bcd06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main/java/g3401_3500/s3493_properties_graph/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public int numberOfComponents(int[][] properties, int k) {
4545

4646
private int findp(int x) {
4747
if (parent[x] != x) {
48-
parent[x] = findp(parent[x]); // Path compression
48+
parent[x] = findp(parent[x]);
4949
}
5050
return parent[x];
5151
}

0 commit comments

Comments
 (0)
Please sign in to comment.