Skip to content

Conversation

@njngwn
Copy link
Contributor

@njngwn njngwn commented Oct 20, 2025

답안 제출 문제

작성자 체크 리스트

  • Projects의 오른쪽 버튼(▼)을 눌러 확장한 뒤, Week를 현재 주차로 설정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 StatusIn Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

검토자 체크 리스트

Important

본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!

  • 바로 이전에 올라온 PR에 본인을 코드 리뷰어로 추가해주세요.
  • 본인이 검토해야하는 PR의 답안 코드에 피드백을 주세요.
  • 토요일 전까지 PR을 병합할 수 있도록 승인해주세요.

Copy link
Contributor

@hyer0705 hyer0705 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이번 주도 수고하셨습니다. 궁금한 점은 코멘트 남겼습니다.

if (root == null) return results;

Queue<TreeNode> levelQueue = new LinkedList<>(); // use queue considering FIFO
levelQueue.offer(root);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Queue라는 컬렉션(? 자바에서는 컬렉션이라는 명칭을 사용했던거 같아 사용해봅니다)에서 데이터를 넣을 때, enqueue가 아닌 offer 메서드를 사용하는군요. 아니면 new LinkedList() 를 사용해서 그런건가요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

자바에는 Queue가 LinkedList로 구현되어 있는걸로 알고있구요. offer 메소드 사용합니다!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit operations 를 사용해서 풀이해 보시면 어떨까요!

Copy link
Contributor

@TonyKim9401 TonyKim9401 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14주차 문제 풀이 고생하셨습니다!
지난 4달 가까이 현생과 함께 물제 풀이 진행 하시느라 많이 고생하셨을텐데 제가 드린 피드백들은 많이 부족하지만 앞으로 개발자로서 조금이라도 도움이 되셨으면 좋겠습니다.
마지막 15주차 문제들 난이도가 조금 더 올라갈거에요.
힘드시겠지만 마지막까지 힘내서 완주 하시길 바랄께요.
15주차 문제 풀이 파이팅입니다!

@njngwn njngwn merged commit bb28c0e into DaleStudy:main Oct 25, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from Solving to Completed in 리트코드 스터디 5기 Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Completed

Development

Successfully merging this pull request may close these issues.

3 participants