[프로그래머스/Java] 짝수는 싫어요 [설명] 정수 n이 매개변수로 주어질 때, n 이하의 홀수가 오름차순으로 담긴 배열을 return하도록 solution 함수를 완성해주세요. [제한사항] 1 ≤ n ≤ 100 [정답] class Solution { public int[] solution(int n) { int[] answer = new int[(n+1)/2]; int temp = 1; for(int i=0; i Study/코딩테스트_JAVA 2022.11.04