We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933ca4a commit 8568581Copy full SHA for 8568581
cpp/136-Single-Number.cpp
@@ -0,0 +1,7 @@
1
+class Solution {
2
+public:
3
+ int swap(int& a, int& b) {
4
+ a = a^b;
5
+ b = a^a;
6
+ }
7
+};
0 commit comments