programmers 181888 java

    [프로그래머스, 181888] n개 간격의 원소들 (java)

    https://school.programmers.co.kr/learn/courses/30/lessons/181888 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr메모리: 72.3 MB, 시간: 0.37 ms사용 알고리즘: 구현class Solution { public int[] solution(int[] num_list, int n) { int[] answer = new int[(int)Math.ceil((double)num_list.length / n)]; int idx = 0; for(int i = 0; i