Skip to content

Commit 115fca9

Browse files
authored
Update minimum-reverse-operations.cpp
1 parent a23c917 commit 115fca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/minimum-reverse-operations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Solution {
2525
result[p] = d;
2626
new_q.emplace_back(p);
2727
}
28-
uf.union_set(p, p+2);
28+
uf.union_set(p, p + 2);
2929
}
3030
}
3131
q = move(new_q);

0 commit comments

Comments
 (0)