짝수는 싫어요 풀이- idx를 이용하여 for문으로 배열을 채우는 방법class Solution { public int[] solution(int n) { int[] answer = new int[(n + 1) / 2]; int idx = 0; for(int i = 1; i - ⭐ IntStream을 이용하는 방법import java.util.stream.IntStream;class Solution { public int[] solution(int n) { return IntStream.rangeClosed(0, n) .filter(e -> e % 2 != 0) .toArra..