반응형 k번째수1 [Programmers] Lv1: K번째 수 문제- 링크: https://school.programmers.co.kr/learn/courses/30/lessons/42748 풀이(풀이1)더보기import java.util.Arrays;class Solution { public int[] solution(int[] array, int[][] commands) { int[] answer = new int[commands.length]; for (int c = 0; c (풀이2)더보기import java.util.*;class Solution { public int[] solution(int[] array, int[][] commands) { int[] answer = new int[comm.. 2025. 2. 11. 이전 1 다음 반응형