문제
https://school.programmers.co.kr/learn/courses/30/lessons/120821
프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr
코드
class Solution {
public int[] solution(int[] num_list) {
int len=num_list.length;
int[] answer = new int[len];
for(int i=0; i<len; i++){
answer[i]=num_list[len-1-i];
}
return answer;
}
}'PS > Programmers' 카테고리의 다른 글
| [프로그래머스 Lv.0] 대문자와 소문자(Java) (0) | 2026.07.13 |
|---|---|
| [프로그래머스 Lv.0] 숨어있는 숫자의 덧셈 (1)(Java) (0) | 2026.07.12 |
| [프로그래머스 Lv.0] 모음 제거(Java) (0) | 2026.07.10 |
| [프로그래머스 Lv.0] 문자열 겹쳐쓰기(Kotlin) (0) | 2026.05.14 |
| [프로그래머스 Lv.0] 문자열 정수의 합(Kotlin) (0) | 2026.04.29 |
댓글