領釦-哈希表練習

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:
相關文章
相關標籤/搜索