memorization 썸네일형 리스트형 1. Two Sum 최근 직장동료들과 함께 LeetCode를 하루 한 문제씩 도전하고 있습니다. 어려운 문제도, 쉬운문제도 있는데 오랜만에 20대 때의 마음을 가지고 편하게 즐겁게 임하고 있습니다. Two Sum 문제는 매우 쉽지만, 2가지 정도로 해결할 수 있을 것 같습니다. 문제를 먼저 살펴보겠습니다. * 문제 살펴보기 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twic.. 더보기 이전 1 다음