Skip to content

[hi-rachel] WEEK 02 solutions #1768

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 6 commits into from
Aug 2, 2025
Merged

[hi-rachel] WEEK 02 solutions #1768

merged 6 commits into from
Aug 2, 2025

Conversation

hi-rachel
Copy link
Contributor

@hi-rachel hi-rachel commented Aug 1, 2025

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@chrisjune chrisjune self-requested a review August 1, 2025 15:52
Copy link
Contributor

@printjin-gmailcom printjin-gmailcom left a comment

Choose a reason for hiding this comment

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

2주차 수고하셨습니다 :) 코드가 다 너무 좋아보여요

prev1 = 1
prev2 = 2

for i in range(2, n):
Copy link
Contributor

Choose a reason for hiding this comment

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

range 루프에서 index를 사용하지 않기에 _ 사용 적절해보입니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@printjin-gmailcom 아 최적화하면서 index를 사용하지 않는 부분을 놓쳤네요. 감사합니다.

@@ -1,3 +1,73 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

코드를 구조화하여 두 방법을 모두 제공한 것이 매우 좋습니다 :)

@@ -0,0 +1,41 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

코드를 구조화하여 세가지 방법을 모두 제공한 것이 매우 좋습니다 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@printjin-gmailcom 이번에 재수 2번째 도전이라 여러 풀이로 도전했습니다.

Copy link
Contributor

Choose a reason for hiding this comment

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

안그래도 꽤나 익숙한 아이디이긴했어요 ㅎㅎ 코드가 다 깔끔하고 좋아서 많이 배워갑니다다. 5기 화이팅 :)

Copy link
Contributor

@chrisjune chrisjune left a comment

Choose a reason for hiding this comment

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

리뷰가 너무 늦어 죄송합니다.
모범답안과 비슷하게 너무 잘짜셨고, 설명도 잘달아주셨네요 고생하셨습니다.

@hi-rachel
Copy link
Contributor Author

리뷰가 너무 늦어 죄송합니다. 모범답안과 비슷하게 너무 잘짜셨고, 설명도 잘달아주셨네요 고생하셨습니다.

아닙니다. 저도 PR을 늦게 올렸어요. 리뷰 감사합니다!

@hi-rachel hi-rachel merged commit 2063129 into DaleStudy:main Aug 2, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Review to Completed in 리트코드 스터디 5기 Aug 2, 2025
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.

3 participants