Open
Conversation
vlmbuyd
requested changes
Apr 6, 2026
Member
vlmbuyd
left a comment
There was a problem hiding this comment.
main ← yuncic:charlie로 다시 올려주세요~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2주차 과제 문제들
💡 어떤 문제를 풀었나요?
11번 짝지어 제거하기
🔑 풀이 접근 방식
s[i]와 stack에 최근에 들어간 값이 같으면 stack에서 해당 값 빼버리고,
다르면 해당 값을 push.
반복문이 끝나고 stack안의 값이 비어있으면 1, 차 있으면 0 리턴
❓ 고민한 점 & 리뷰 요청 사항
시간복잡도를 더 줄일 수 있을까?
없을듯
💡 어떤 문제를 풀었나요?
12번 주식 가격
🔑 풀이 접근 방식
prices[i]와 price[z]를 비교해서
가격이 같거나 올라가면 cnt ++ , 가격이 떨어지면 cnt++ 후 break.
큰 루프에서 즉 i가 늘어날때마다 answer에 cnt 를 push
❓ 고민한 점 & 리뷰 요청 사항
answer.push의 위치를 어디에 둘지에 고민을 했다.
💡 어떤 문제를 풀었나요?
13번 크레인 인형 뽑기 게임
🔑 풀이 접근 방식
❓ 고민한 점 & 리뷰 요청 사항