Merged
Conversation
hyer0705
approved these changes
Oct 25, 2025
Contributor
hyer0705
left a comment
There was a problem hiding this comment.
이번 주도 수고하셨습니다. 궁금한 점은 코멘트 남겼습니다.
| if (root == null) return results; | ||
|
|
||
| Queue<TreeNode> levelQueue = new LinkedList<>(); // use queue considering FIFO | ||
| levelQueue.offer(root); |
Contributor
There was a problem hiding this comment.
Queue라는 컬렉션(? 자바에서는 컬렉션이라는 명칭을 사용했던거 같아 사용해봅니다)에서 데이터를 넣을 때, enqueue가 아닌 offer 메서드를 사용하는군요. 아니면 new LinkedList() 를 사용해서 그런건가요?
Contributor
There was a problem hiding this comment.
자바에는 Queue가 LinkedList로 구현되어 있는걸로 알고있구요. offer 메소드 사용합니다!
TonyKim9401
reviewed
Oct 25, 2025
Contributor
There was a problem hiding this comment.
bit operations 를 사용해서 풀이해 보시면 어떨까요!
TonyKim9401
approved these changes
Oct 25, 2025
Contributor
TonyKim9401
left a comment
There was a problem hiding this comment.
14주차 문제 풀이 고생하셨습니다!
지난 4달 가까이 현생과 함께 물제 풀이 진행 하시느라 많이 고생하셨을텐데 제가 드린 피드백들은 많이 부족하지만 앞으로 개발자로서 조금이라도 도움이 되셨으면 좋겠습니다.
마지막 15주차 문제들 난이도가 조금 더 올라갈거에요.
힘드시겠지만 마지막까지 힘내서 완주 하시길 바랄께요.
15주차 문제 풀이 파이팅입니다!
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 하나 이상을 반드시 검토를 해주셔야 합니다!