You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/data_structures/disjoint_set_union.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -381,7 +381,7 @@ Therefore we receive the formula ($\oplus$ denotes the XOR operation):
381
381
382
382
$$t = x \oplus y \oplus 1$$
383
383
384
-
Thus regardless of how many joins we perform, the parity of the edges is carried from on leader to another.
384
+
Thus regardless of how many joins we perform, the parity of the edges is carried from one leader to another.
385
385
386
386
We give the implementation of the DSU that supports parity. As in the previous section we use a pair to store the ancestor and the parity. In addition for each set we store in the array `bipartite[]` whether it is still bipartite or not.
0 commit comments