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