From 2f596b8a99f7c8b3778f9d877a64cbd579bfd13b Mon Sep 17 00:00:00 2001 From: YANG YEEUN Date: Mon, 6 Jul 2026 18:15:56 +0900 Subject: [PATCH] =?UTF-8?q?K=EB=B2=88=EC=A7=B8=20=EC=88=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k_number.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 k_number.java diff --git a/k_number.java b/k_number.java new file mode 100644 index 0000000..1b7daa1 --- /dev/null +++ b/k_number.java @@ -0,0 +1,13 @@ +import java.util.*; + +class Solution { + public int[] solution(int[] array, int[][] commands) { + int[] answer = new int[commands.length]; + for(int i=0;i