Skip to content

Conversation

@Seol-JY
Copy link
Contributor

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

🧷 문제 링크

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

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

수열의 각 원소에 대해 오른쪽에서 가장 가까운 더 큰 수(오큰수)를 찾는 문제. 해당하는 수가 없으면 -1 출력

🔍 풀이 방법

스택에 인덱스를 저장하여 아직 오큰수를 찾지 못한 원소 관리

⏳ 회고

스택에 인덱스 저장해서 푸느게 핵심

@Seol-JY Seol-JY added the success 👍 해설을 보지 않고 풀었을 때 label Jul 8, 2025
@ShinHeeEul ShinHeeEul merged commit 8a0f47c into main Jul 8, 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