![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FslwWB%2FbtsGWbfnkVz%2FXryO27MrjZkniF2e2W1ET0%2Fimg.png)
1. 문제 2. 풀이 과정배열에서 두 개씩 뽑아 더 한다.이 문제에서 함정은 중복이다. 두 수를 더한 결과가 중복되면 결과 배열에 포함되면 안된다. ex) [5, 0, 2, 7] → (5 + 2) = 7, (0 + 7) = 7 --> 7은 한번만 저장되어야 함이후 오름차순으로 정렬 3. 내 코드import java.util.*;class Solution { public int[] solution(int[] numbers) { int[] answer = {}; ArrayList temp = new ArrayList(); for(int i = 0; i 시간 복잡도O(N^4)temp 리스트의 최대 크기는 배열에서 두 개의 수를 뽑는 경우인 n(..