Skip to content

[yeonjukim164] WEEK 12 solutions #2312

Merged
TonyKim9401 merged 1 commit intoDaleStudy:mainfrom
yeonjukim164:main
Feb 7, 2026
Merged

[yeonjukim164] WEEK 12 solutions #2312
TonyKim9401 merged 1 commit intoDaleStudy:mainfrom
yeonjukim164:main

Conversation

@yeonjukim164
Copy link
Contributor

@yeonjukim164 yeonjukim164 commented Feb 1, 2026

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@github-actions github-actions bot added the java label Feb 1, 2026
@yeonjukim164 yeonjukim164 changed the title [yeonjukim164] WEEK 13 solutions [yeonjukim164] WEEK 12 solutions Feb 1, 2026
@yeonjukim164
Copy link
Contributor Author

@DaleStudy 리뷰해줘

@dalestudy
Copy link
Contributor

dalestudy bot commented Feb 1, 2026

좋은 작업입니다! 재귀적 접근법으로 이진 트리의 최대 깊이 문제를 깔끔하게 해결하셨네요. 가독성도 좋고, 주석도 적절히 추가되어 이해하기 쉽습니다. 한 가지 작은 제안을 드리자면, 시간과 공간 복잡도도 명시하면 더욱 완성도 높은 리뷰가 될 것 같습니다. 이 알고리즘은 TC: O(n), SC: O(h) (h는 트리의 높이)임을 명확히 표기하면 좋겠습니다. 또한, 더 간단하게 표현하거나 반복적 방법을 제안하는 것도 고려해볼 수 있는데, 현재 수준에서는 재귀 방식이 적절합니다. 계속해서 좋은 코드 기대할게요!

@yeonjukim164
Copy link
Contributor Author

@DaleStudy 승인

Copy link
Contributor

@dalestudy dalestudy bot left a comment

Choose a reason for hiding this comment

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

승인되었습니다! 👍

@TonyKim9401 TonyKim9401 merged commit d16b627 into DaleStudy:main Feb 7, 2026
3 checks passed
@github-project-automation github-project-automation bot moved this from Solving to Completed in 리트코드 스터디 6기 Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

2 participants