Skip to content

[shinsj4653] Week 03 Solutions #1272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 20, 2025
Merged

[shinsj4653] Week 03 Solutions #1272

merged 8 commits into from
Apr 20, 2025

Conversation

shinsj4653
Copy link
Contributor

@shinsj4653 shinsj4653 commented Apr 12, 2025

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@shinsj4653 shinsj4653 requested a review from Copilot April 19, 2025 13:45
Copy link

@Copilot Copilot AI left a comment

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 includes the Week 03 Solutions with implementations and reflective comments for multiple algorithm problems. Key changes include:

  • Additional reflective notes (회고) and approach explanations across the solutions.
  • New solution files for problems such as valid-palindrome, number-of-1-bits, maximum-subarray, decode-ways, and combination-sum.
  • Updated implementations, including both dynamic programming and recursive approaches in decode-ways and combination-sum.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
validate-binary-search-tree/shinsj4653.py Added a reflective note about passing upper and lower bounds.
valid-palindrome/shinsj4653.py Added a basic structure with explanations for the valid-palindrome problem.
number-of-1-bits/shinsj4653.py Added a problem explanation and structure for the number-of-1-bits solution.
maximum-subarray/shinsj4653.py Implemented the Kadane’s algorithm with reflective notes on the approach.
decode-ways/shinsj4653.py Provided three solution approaches (recursive with memoization and bottom-up DP) with commentary.
combination-sum/shinsj4653.py Offered two implementations (DP-based and recursive) with detailed reflections and notes.

if start_idx >= n :
return
for i in range(1, 2):
num = int(s[start_idx:start_idx + i]
Copy link
Preview

Copilot AI Apr 19, 2025

Choose a reason for hiding this comment

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

Missing closing parenthesis in the int conversion. Consider updating the line to 'num = int(s[start_idx:start_idx + i])'.

Suggested change
num = int(s[start_idx:start_idx + i]
num = int(s[start_idx:start_idx + i])

Copilot uses AI. Check for mistakes.

@shinsj4653 shinsj4653 requested a review from PDKhan April 20, 2025 04:38
@PDKhan
Copy link
Contributor

PDKhan commented Apr 20, 2025

저를 리뷰어로 할당하신 이유가 있을까요?
저는 이번주 다른분 리뷰를 했는데 또 해야 하는 이유가 있나 궁금해서 문의 드립니다.
그리고 아직 Solving 상태신데 뭔가 정보가 안맞는듯합니다.

Copy link
Contributor

@PDKhan PDKhan left a comment

Choose a reason for hiding this comment

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

한주에 리뷰를 2번 하게 되지만 일단 요청하셔서 리뷰합니다.
3주차 수고하셨습니다.

@shinsj4653 shinsj4653 moved this from Solving to In Review in 리트코드 스터디 4기 Apr 20, 2025
@shinsj4653
Copy link
Contributor Author

저를 리뷰어로 할당하신 이유가 있을까요? 저는 이번주 다른분 리뷰를 했는데 또 해야 하는 이유가 있나 궁금해서 문의 드립니다. 그리고 아직 Solving 상태신데 뭔가 정보가 안맞는듯합니다.

@PDKhan 문제를 다 푼 이후에 In Review로 Status 변경을 안한점은 죄송하다는 말씀 전해드립니다.
리뷰어로 할당한 이유는 본인 PR(PDKhan) 바로 전에 올라온 PR(shinsj4653)이 바로 제 PR이기 때문입니다! 가이드 규칙 상 PDKhan님이 제 PR의 리뷰어로 등록되셔야해서 할당하였습니다 :)

코드 리뷰 가이드
KakaoTalk_Photo_2025-04-20-14-50-59

@shinsj4653 shinsj4653 merged commit ecdad54 into DaleStudy:main Apr 20, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Review to Completed in 리트코드 스터디 4기 Apr 20, 2025
@PDKhan
Copy link
Contributor

PDKhan commented Apr 20, 2025

제 PR(#1274) 전에 PR(#1273)은 이미 제가 리뷰해서 merged 된 상태인데 잘못 보신듯합니다.
님은 (#1272) 이니 (#1273) 분께서 리뷰해야 하는것이죠

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