Skip to content

[jungsiroo] Week2 #708

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
Dec 22, 2024
Merged

[jungsiroo] Week2 #708

merged 8 commits into from
Dec 22, 2024

Conversation

jungsiroo
Copy link
Contributor

@jungsiroo jungsiroo commented Dec 15, 2024

답안 제출 문제

체크 리스트

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

@jungsiroo jungsiroo requested a review from GangBean December 15, 2024 10:39
@jungsiroo jungsiroo requested a review from a team as a code owner December 15, 2024 10:39
@github-actions github-actions bot added the py label Dec 15, 2024
Copy link
Contributor

@GangBean GangBean left a comment

Choose a reason for hiding this comment

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

안녕하세요 😄 스터디 기간 동안 잘 부탁드립니다!
저는 Java 백엔드 개발자입니다.. 만 딥러닝에 관심있어서 Python 도 공부중이예요!
많이 알려주시면 감사드리겠습니다~
(github 이력 보니 boost camp 3기 시네요?? 저는 6기 recsys 수료 했습니다. 잘 부탁드려요!)

@jungsiroo
Copy link
Contributor Author

안녕하세요 😄 스터디 기간 동안 잘 부탁드립니다! 저는 Java 백엔드 개발자입니다.. 만 딥러닝에 관심있어서 Python 도 공부중이예요! 많이 알려주시면 감사드리겠습니다~ (github 이력 보니 boost camp 3기 시네요?? 저는 6기 recsys 수료 했습니다. 잘 부탁드려요!)

오 반갑습니다! 저는 추천시스템에 큰 흥미를 가지고 있어서 저도 많이 배우겠습니다!!

@DaleSeo
Copy link
Member

DaleSeo commented Dec 20, 2024

@jungsiroo 님, 아직 답안 코드 병합을 하지 않으셨는데 프로젝트에서 상태가 Completed로 되어 있네요. In Review -> Completed 전환은 PR을 병합하실 때 자동으로 일어납니다. 이 것 때문에 코치진이 PR을 놓치게 될까봐 알려드려요~

Shot 2024-12-20 at 06 42 36

Copy link
Member

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

5문제 모두 잘 푸셨습니다!

image

Tc = O(n) / Sc = O(n)
"""

dp = [1 for _ in range(n+1)]
Copy link
Member

@DaleSeo DaleSeo Dec 20, 2024

Choose a reason for hiding this comment

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

계단에 오르는 방법의 개수를 굳이 1번째 칸부터 n번째 칸까지 모두 저장할 필요가 있을까요? 현재 답안도 훌륭하지만 아직 마감까지 시간이 좀 남아있으니 혹시 시간되시면 고민해보시면 좋을 것 같습니다 :)

# dictionary to count letters
# Tc : O(n) / Sc : O(n)
letters_cnt = dict()
INF = int(1e6)
Copy link
Member

Choose a reason for hiding this comment

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

오, 보통 이럴 때 float("inf")를 많이 사용하시는 것 같은데 신기하네요 ㅎㅎ

@SamTheKorean SamTheKorean merged commit 9c2b45f into DaleStudy:main Dec 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

4 participants