Skip to content

Conversation

gitsunmin
Copy link
Contributor

답안 제출 문제

체크 리스트

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

@gitsunmin gitsunmin requested a review from EgonD3V November 2, 2024 01:17
@gitsunmin gitsunmin self-assigned this Nov 2, 2024
@gitsunmin gitsunmin requested a review from a team as a code owner November 2, 2024 01:17
@github-actions github-actions bot added the ts label Nov 2, 2024
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.

한 주도 수고 많으셨습니다. 좋은 풀이 감사합니다.

}

function removeNthFromEnd(head: ListNode | null, n: number): ListNode | null {
const dummy = new ListNode(0, head);
Copy link
Contributor

Choose a reason for hiding this comment

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

문제에서 0 <= Node.val <= 100 조건이 있기 떄문에, 해당하지 않는 값으로 dummy를 구성하면 더 좋을 것 같습니다.

@SamTheKorean SamTheKorean merged commit c8d452b into DaleStudy:main Nov 3, 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.

3 participants