Conversation
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.
💡 어떤 문제를 풀었나요?
11번. [프로그래머스_12973] 짝지어 제거하기
🔑 풀이 접근 방식
기억 안남
❓ 고민한 점 & 리뷰 요청 사항
문제 자체는 어렵지 않았으나, 스택의 아이디어를 활용하여 풀 수 있다는 생각을 떠올리는 것이 쉽지 않았음
💡 어떤 문제를 풀었나요?
12번. [프로그래머스_42584] 주식 가격
🔑 풀이 접근 방식
❓ 고민한 점 & 리뷰 요청 사항
마찬가지로 해당 문제가 스택을 활용하여 풀수 있다는 생각을 떠올리는 것 자체가 힘들었음. 풀이를 봤을 때도 바로 이해가 안가서 손으로 직접 그려가면서 이해함.
문제를 풀며 깨달은 스택의 핵심 아이디어는 '현재의 값을 기준으로 스택의 최상단 즉, 가장 최근에 대기 중인 값과의 비교'라고 느꼈다.
(상세 내용
README.md기재)💡 어떤 문제를 풀었나요?
13번. [프로그래머스64061] 크레인 인형 뽑기 게임
🔑 풀이 접근 방식
play함수로 분리picked를 스택 최상단의top과 비교 후 분기처리 (여기서 스택 아이디어 사용)❓ 고민한 점 & 리뷰 요청 사항
play로직도 스택을 활용해서 풀 수 있었을 것 같은데 고민이 짧았던 것 같아 아쉽다.