[프로그래머스] k번째수 (자바)
코드 package psg.고득점킷트.정렬;import java.util.ArrayList;import java.util.Arrays;import java.util.Comparator;import java.util.List;public class PSG_K번째수 { public static void main(String[] args) { PSG_K번째수 psgK번째수 = new PSG_K번째수(); int[] solution = psgK번째수.solution(new int[]{1, 5, 2, 6, 3, 7, 4}, new int[][]{{2, 5, 3}, {4, 4, 1}, {1, 7, 3}}); System.out.println(Arrays.toString(s..
2024. 7. 13.