From ac318e5570f12bf4f0169df043750ff8a3f88fbf Mon Sep 17 00:00:00 2001 From: LiiNi-coder <97495437+LiiNi-coder@users.noreply.github.com> Date: Tue, 28 Oct 2025 23:40:33 +0900 Subject: [PATCH] =?UTF-8?q?[20251028]=20PGM=20/=20LV2=20/=20=EA=B4=84?= =?UTF-8?q?=ED=98=B8=20=ED=9A=8C=EC=A0=84=ED=95=98=EA=B8=B0=20/=20?= =?UTF-8?q?=EC=9D=B4=EC=9D=B8=ED=9D=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...14\354\240\204\355\225\230\352\270\260.md" | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 "LiiNi-coder/202510/28 PGM \352\264\204\355\230\270 \355\232\214\354\240\204\355\225\230\352\270\260.md" diff --git "a/LiiNi-coder/202510/28 PGM \352\264\204\355\230\270 \355\232\214\354\240\204\355\225\230\352\270\260.md" "b/LiiNi-coder/202510/28 PGM \352\264\204\355\230\270 \355\232\214\354\240\204\355\225\230\352\270\260.md" new file mode 100644 index 00000000..5df674ce --- /dev/null +++ "b/LiiNi-coder/202510/28 PGM \352\264\204\355\230\270 \355\232\214\354\240\204\355\225\230\352\270\260.md" @@ -0,0 +1,34 @@ +```java +import java.util.*; +class Solution { + public int solution(String s) { + char[] cs = s.toCharArray(); + int answer = 0; + Deque q = new ArrayDeque(); + for(int i = 0; i(); + for(int d = 0; d