From 0480cb92e37621da59e03afbf94744dbfd0ec753 Mon Sep 17 00:00:00 2001 From: lkhyun <102892446+lkhyun@users.noreply.github.com> Date: Sun, 30 Nov 2025 19:33:08 +0900 Subject: [PATCH] =?UTF-8?q?[20251130]=20PGM=20/=20Lv2=20/=20=EC=B5=9C?= =?UTF-8?q?=EC=86=9F=EA=B0=92=20=EB=A7=8C=EB=93=A4=EA=B8=B0=20/=20?= =?UTF-8?q?=EC=9D=B4=EA=B0=95=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...2 \353\247\214\353\223\244\352\270\260.md" | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 "lkhyun/202511/30 PGM Lv2 \354\265\234\354\206\237\352\260\222 \353\247\214\353\223\244\352\270\260.md" diff --git "a/lkhyun/202511/30 PGM Lv2 \354\265\234\354\206\237\352\260\222 \353\247\214\353\223\244\352\270\260.md" "b/lkhyun/202511/30 PGM Lv2 \354\265\234\354\206\237\352\260\222 \353\247\214\353\223\244\352\270\260.md" new file mode 100644 index 00000000..ef5580e8 --- /dev/null +++ "b/lkhyun/202511/30 PGM Lv2 \354\265\234\354\206\237\352\260\222 \353\247\214\353\223\244\352\270\260.md" @@ -0,0 +1,22 @@ +```java +import java.util.*; +class Solution +{ + public int solution(int []A, int []B) + { + int answer = 0; + + Arrays.sort(A); + Arrays.sort(B); + + int Aidx = 0; + int Bidx = B.length-1; + + for(int i = 0; i