Skip to content

Conversation

anniemon
Copy link
Contributor

@anniemon anniemon commented Dec 19, 2024

답안 제출 문제

체크 리스트

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

@anniemon anniemon self-assigned this Dec 19, 2024
@anniemon anniemon requested a review from a team as a code owner December 19, 2024 05:23
@github-actions github-actions bot added the js label Dec 19, 2024
@anniemon anniemon requested a review from sungjinwi December 19, 2024 05:24
Copy link
Contributor

@EgonD3V EgonD3V left a comment

Choose a reason for hiding this comment

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

2주차도 수고 많으셨습니다 화이팅

Comment on lines 20 to 21
}
let l = i + 1;
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.

넵 반영했습니다

* @return {number}
*/
var climbStairs = function(n) {
const memo = { 1:1, 2:2 };
Copy link
Contributor

Choose a reason for hiding this comment

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

만약 제가 면접관이라면 왜 list가 아닌 map을 사용했는지 물어볼 것 같습니다. 개인적으로 이전 단계의 값으로 다음 단계의 값을 구한다는 의미에는 list가 더 적합하지 않을까 싶습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

좋은 포인트네요. 반영했습니다.
감사합니다.

@anniemon anniemon merged commit 109a279 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.

2 participants