Merged
Conversation
radiantchoi
approved these changes
Feb 12, 2026
Contributor
radiantchoi
left a comment
There was a problem hiding this comment.
안녕하세요! 금요일 현재까지 풀어 주신 문제 두 문제에 대해 우선 리뷰를 드립니다. 전반적으로 저도 비슷한 아이디어를 가지고 풀어서 공감이 가는 풀이들이었습니다. 다음주가 마지막 주죠? 화이팅입니다!
Contributor
There was a problem hiding this comment.
level을 따로 측정하셨군요! 같은 레벨의 노드는 while 내부의 for문이 도는 과정에서 모두 pop되니, 좋은 방법이라고 생각됩니다.
Contributor
There was a problem hiding this comment.
최적화 방법이 있다고는 하지만, 이 풀이처럼 역시 간단한 해결책으로 먼저 수행하고 생각해 보는 것이 좋다고 생각합니다. 코딩 테스트와 코딩 인터뷰는 사뭇 다르겠습니다만, 어쨌든 일단 맞춰야 그 다음이 있겠죠. 개인적으로 저도 익숙지 않은 언어로 일부러 풀어 보곤 하는데, 그러다 보니 똑같은 풀이로 풀었습니다.
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.
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!