Notice
Recent Posts
Recent Comments
Link
목록2022/03/25 (1)
Silver Library (Archived)
Two Sum - Note
Two Sum - 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 First attempt: class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: array = {} for i, n in enumerate(nums): mediator = target - n if mediator in array: return [array[mediator], i] else: return False r..
F2. Problem & Solving/Solving
2022. 3. 25. 11:03