We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 995b1ec commit a0638ffCopy full SHA for a0638ff
data_structures/disjoint_set/disjoint_set.py
@@ -26,7 +26,7 @@ def union_set(x, y):
26
disjoint set tree will be more flat.
27
"""
28
x, y = find_set(x), find_set(y)
29
- if x==y:
+ if x == y:
30
return
31
32
elif x.rank > y.rank:
0 commit comments