728x90
https://school.programmers.co.kr/learn/courses/30/lessons/181892
📝 나의 풀이
using System;
using System.Linq;
public class Solution {
public int[] solution(int[] num_list, int n) {
return num_list.Skip(n-1).ToArray();
}
}
728x90
'코딩테스트 > [C#] 프로그래머스' 카테고리의 다른 글
[프로그래머스 | Lv.0] 소문자로 바꾸기 (0) | 2023.08.13 |
---|---|
[프로그래머스 | Lv.0] 조건에 맞게 수열 변환하기 3 (0) | 2023.08.13 |
[프로그래머스 | Lv.0] 문자열의 앞의 n글자 (1) | 2023.08.13 |
[프로그래머스 | Lv.0] 원소들의 곱과 합 (0) | 2023.08.13 |
[프로그래머스 | Lv.0] flag에 따라 다른 값 반환하기 (0) | 2023.08.13 |