def singleNumber(self, nums):
:type nums: List[int]
for x, y in zip(nums[::2], nums[1::2]):
if x != y:
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.