Skip to content

Conversation

@Seol-JY
Copy link
Contributor

@Seol-JY Seol-JY commented Jul 15, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/7662

🧭 풀이 시간

35분

👀 체감 난이도

✏️ 문제 설명

앞뒤에서 뺄 수 있는 이중 우선순위 큐를 만들기

🔍 풀이 방법

TreeMap을 사용해서 키의 정렬을 보장하고,
여러 값이 들어올때를 핸들링함

⏳ 회고

처음에 PriorityQueue를 두 개 사용해서 풀려고 하다가, TreeMap이 떠올라 구현함

@Seol-JY Seol-JY added the success 👍 해설을 보지 않고 풀었을 때 label Jul 15, 2025
@ShinHeeEul ShinHeeEul merged commit 408b2a7 into main Jul 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants