[LeetCode] 1. Two Sum 풀이
0. 문제 https://leetcode.com/problems/two-sum/ 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 주어진 배열 요소 두개의 합이 타겟과 일치할 시 해당 배열의 두 인덱스를 반환한다. #1 Input: nums = [2,7,11,15], target = 9 Output: [0,1] #2 Input: nums = [3,2,4], target = 6 Output: [1,2] #3 Input: nums = [3,3], ta..
2022. 7. 10.