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 db4615b commit 1a88ccfCopy full SHA for 1a88ccf
Solution/136. Single Number/136. Single Number.py
@@ -0,0 +1,3 @@
1
+class Solution:
2
+ def singleNumber(self, nums: list[int]) -> int:
3
+ return functools.reduce(operator.xor, nums, 0)
0 commit comments