
Algorithm/프로그래머스
[알고리즘] n 번째 원소까지 Java
import java.util.Arrays; class Solution { public int[] solution(int[] num_list, int n) { return Arrays.copyOf(num_list, n); } }
import java.util.Arrays; class Solution { public int[] solution(int[] num_list, int n) { return Arrays.copyOf(num_list, n); } }