打卡题目:leetcode第136题,只出现一次的数字
    相似题目:137
    image.png


    【代码】

    1. class Solution:
    2. def singleNumber(self, nums: List[int]) -> int:
    3. return reduce(lambda x, y: x ^ y, nums)