Search posts...
class Solution { public int[] solution(int[] num_list, int n) { int length = num_list.length - n; int[] answer = new int[length + 1]; for(int i = 0 ;i < length + 1 ; i++) { answer[i] = num_list[n - 1 + i]; } return answer; } }