Skip to content

[jamiebase] WEEK 14 Solutions#2632

Open
jamiebase wants to merge 8 commits into
DaleStudy:mainfrom
jamiebase:main
Open

[jamiebase] WEEK 14 Solutions#2632
jamiebase wants to merge 8 commits into
DaleStudy:mainfrom
jamiebase:main

Conversation

@jamiebase

@jamiebase jamiebase commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@dalestudy

dalestudy Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

📊 jamiebase 님의 학습 현황

이번 주 제출 문제

문제 난이도 유형 분석
house-robber-ii Medium ✅ 의도한 유형
subtree-of-another-tree Easy ✅ 의도한 유형

누적 학습 요약

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

문제 풀이 현황

카테고리 진행도 완료
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)
Tree ■■■□□□□ 6 / 14 (Medium 3, Easy 3)
Graph ■■■□□□□ 3 / 8 (Medium 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 475 34 509 $0.000061
2 475 31 506 $0.000060
3 905 67 972 $0.000117
합계 1,855 132 1,987 $0.000238

@jamiebase jamiebase moved this from Solving to In Review in 리트코드 스터디 7기 Jun 7, 2026
Comment thread house-robber-ii/jamiebase.py
Comment thread subtree-of-another-tree/jamiebase.py

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new Python solution submissions to the repository’s per-problem solution folders (Week 14 submissions), including House Robber II and an additional Subtree of Another Tree solution.

Changes:

  • Added a DP-based Python solution for House Robber II.
  • Added a recursive Python solution for Subtree of Another Tree.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
subtree-of-another-tree/jamiebase.py Adds recursive subtree check via per-node equality comparison (requires small fixes for runtime/type-hint safety).
house-robber-ii/jamiebase.py Adds circular-house DP solution using two DP passes (minor efficiency/clarity tweak suggested).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread subtree-of-another-tree/jamiebase.py
Comment thread subtree-of-another-tree/jamiebase.py
Comment thread subtree-of-another-tree/jamiebase.py
Comment thread house-robber-ii/jamiebase.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants