Skip to content

Conversation

gitsunmin
Copy link
Contributor

답안 제출 문제

체크 리스트

  • PR을 프로젝트에 추가하고 Week를 현재 주차로 설정해주세요.
  • 바로 앞에 PR을 열어주신 분을 코드 검토자로 지정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 Status를 In Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

@gitsunmin gitsunmin requested a review from jaejeong1 November 9, 2024 02:40
@gitsunmin gitsunmin self-assigned this Nov 9, 2024
@gitsunmin gitsunmin requested a review from a team as a code owner November 9, 2024 02:40
@github-actions github-actions bot added the ts label Nov 9, 2024
Copy link
Contributor

@jaejeong1 jaejeong1 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 👍


const maxRobAmount = new Array(houseCount).fill(0);
maxRobAmount[0] = nums[0];
maxRobAmount[1] = Math.max(nums[0], nums[1]);
Copy link
Contributor

Choose a reason for hiding this comment

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

공간복잡도를 1로 사용하면서 풀 수 있는 방법도 고민해보시면 좋을 것 같습니다 :)

@gitsunmin gitsunmin merged commit 7b4cc6b into DaleStudy:main Nov 10, 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