๐ก ์ ๋ง ๊ฐ๋จํ ๋ฌธ์ ..!! n ๋งํผ ์งํ์์ผ์ฃผ๊ณ ๊ทธ๋งํผ ์ถ๋ ฅํด์ฃผ๋ฉด ๋!
class Solution {
public int[] solution(int[] num_list, int n) {
int[] answer = new int [n];
for (int i = 0 ; i < n; i++){
answer[i] = num_list[i];
}
return answer;
}
}