136
-
[💕 LeetCode Python] 136. Single NumberAlgorithm/1일 1코테 2020. 10. 27. 13:24
LeetCode 136. Single Number 문제 및 문제설명 leetcode.com/problems/single-number/ Single Number - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 내가 쓴 답 def singleNumber(self, nums: List[int]) -> int: answer = {} #dict 생성 for i in nums: if i in answer: answer[i] += 1 else: answer[i] = 1 f..