Skip to content

[jamiebase] WEEK 13 Solutions#2615

Merged
jamiebase merged 4 commits into
DaleStudy:mainfrom
jamiebase:main
Jun 1, 2026
Merged

[jamiebase] WEEK 13 Solutions#2615
jamiebase merged 4 commits into
DaleStudy:mainfrom
jamiebase:main

Conversation

@jamiebase
Copy link
Copy Markdown
Contributor

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🏷️ 알고리즘 패턴 분석

  • 패턴: Binary Search
  • 설명: 이 코드는 이진 탐색 트리의 특성을 이용하여 값 비교로 공통 조상을 찾는 방식으로, 이진 탐색 패턴에 속합니다.

📊 시간/공간 복잡도 분석

복잡도
Time O(H)
Space O(1)

피드백: 트리의 높이 H에 비례하는 시간 복잡도를 가지며, 반복문을 통해 상위 노드로 이동하므로 공간 복잡도는 상수입니다.

개선 제안: 현재 구현이 적절해 보입니다.

💡 풀이에 시간/공간 복잡도를 주석으로 남겨보세요!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

BST의 특징을 기반으로 문제를 잘 풀이하셨네요!
깔끔한 풀이네요 👍

@jamiebase jamiebase moved this from Solving to In Review in 리트코드 스터디 7기 May 26, 2026
@dalestudy
Copy link
Copy Markdown
Contributor

dalestudy Bot commented May 26, 2026

📊 jamiebase 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
lowest-common-ancestor-of-a-binary-search-tree Medium ✅ 의도한 유형

누적 학습 요약

  • 풀이한 문제: 40 / 75개
  • 이번 주 유형 일치율: 100% (1문제 중 1문제 일치)

문제 풀이 현황

카테고리 진행도 완료
Array ■■■■■■□ 8 / 10 (Medium 5, Easy 3)
Matrix ■■■■■□□ 3 / 4 (Medium 3)
Dynamic Programming ■■■■■□□ 8 / 11 (Easy 1, Medium 7)
Binary ■■■■□□□ 3 / 5 (Easy 3)
String ■■■■□□□ 6 / 10 (Medium 3, Easy 3)
Graph ■■■□□□□ 3 / 8 (Medium 3)
Tree ■■■□□□□ 5 / 14 (Medium 2, Easy 3)
Linked List ■■□□□□□ 2 / 6 (Easy 2)
Heap ■■□□□□□ 1 / 3 (Medium 1)
Interval ■□□□□□□ 1 / 5 (Medium 1)

🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다.

🔢 API 사용량 (gpt-4.1-nano)
요청 입력 토큰 출력 토큰 합계 비용
1 379 32 411 $0.000051

@juhui-jeong juhui-jeong self-requested a review May 30, 2026 01:12
Copy link
Copy Markdown
Contributor

@juhui-jeong juhui-jeong left a comment

Choose a reason for hiding this comment

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

금주도 수고 많으셨습니다~!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

BST의 특징을 기반으로 문제를 잘 풀이하셨네요!
깔끔한 풀이네요 👍

@jamiebase jamiebase merged commit 84274c0 into DaleStudy:main Jun 1, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Completed in 리트코드 스터디 7기 Jun 1, 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