Algorithm/프로그래머스
[알고리즘] n 번째 원소까지 Java
rw-
2023. 5. 11. 21:08
728x90
import java.util.Arrays;
class Solution {
public int[] solution(int[] num_list, int n) {
return Arrays.copyOf(num_list, n);
}
}
728x90
반응형