Skip to content

Commit

Permalink
136
Browse files Browse the repository at this point in the history
  • Loading branch information
isinsuarici committed Feb 8, 2022
1 parent ef39fe1 commit 56feb7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions E_136_SingleNumber.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Solution:
def singleNumber(self, nums: List[int]) -> int:
return sum(set(nums))*2-sum(nums)

0 comments on commit 56feb7e

Please sign in to comment.