-
-
Notifications
You must be signed in to change notification settings - Fork 303
[se6816] WEEK 01 solutions #1996
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
|
@DaleStudy 리뷰해줘 |
|
우선, 여러 문제에 대한 깔끔한 솔루션을 제출하셨네요! 전체적으로 가독성도 좋고, 각 문제에 적합한 접근법을 잘 선택하셨습니다. 몇 가지 개선 및 피드백을 드리자면:
전반적인 팁:
전체적으로 훌륭한 답안입니다! 계속해서 다양한 문제를 도전하며 더 나은 성능과 가독성을 추구하세요. |
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.
dp 배열 크기를 nums.length + 1로 하는 것이 아닌 nums.length로 하는 방법으로 하는 것도 해보면 좋을것같습니다👍
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.
for문 안에 if문을 작성하고 싶지 않아서 dp[0]이라는 빈 공간을 만들었는데, 지금 보니 뭔가 가독성이 살짝 떨어지고, 실수를 했을 때 발견하기 쉽지 않을 것 같네요. nayeongdev님의 말씀대로, 원 배열 길이를 따르는 형식이 좀 더 좋은 것 같습니다. 좋은 피드백 감사합니다.
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!