Two Sum II - Input Array Is Sorted
-
[알고리즘] #Two Sum II - Input Array Is Sorted■ Algorithm 2022. 8. 5. 17:09
문제 출처: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ Two Sum II - Input Array Is Sorted - 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 문제 해석 오름차순으로 정렬된 정수형 배열이 주어졌을 때, 2개의 요소의 합이 target과 같은 index array를 리턴하라. if (numbers[index_1] + numbers[index_2] === target){..