-
-
Notifications
You must be signed in to change notification settings - Fork 304
[mandel-17] WEEK 02 solutions #2039
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
현재 칸에 도달할 수 있는 방법의 수 = 2칸 아래의 계단에 도달할 수 있는 방법의 수(2칸을 한 번에 오르면 현재 칸)+1칸 아래의 계단에 도달할 수 있는 방법의 수(1칸을 오르면 현재 칸)으로 DP식을 세우면 좀 더 효율적으로 문제를 해결할 수 있을 것 같습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
간단하게 Counter를 활용하면 더 간결하게 구현할 수 있을 것 같습니다
8804who
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good
|
@8804who 피드백 반영했습니다. 감사합니다! |
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!