领扣-哈希表练习

136.只出现一次的数字 # -*- coding: utf-8 -*- import collections def singleNumber(nums): """ :type nums: List[int] :rtype: int """ s = [] for i in nums: if i not in s:
相关文章
相关标签/搜索