Skip to content

Conversation

@radiantchoi
Copy link
Contributor

@radiantchoi radiantchoi commented Jan 13, 2026

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!

  • 바로 이전에 올라온 PR에 본인을 코드 리뷰어로 추가해주세요.
  • 본인이 검토해야하는 PR의 답안 코드에 피드백을 주세요.
  • 토요일 전까지 PR을 병합할 수 있도록 승인해주세요.

@radiantchoi radiantchoi added swift and removed swift labels Jan 13, 2026
@radiantchoi radiantchoi added the py label Jan 14, 2026
@doh6077 doh6077 self-requested a review January 14, 2026 18:12
@radiantchoi radiantchoi moved this from Solving to In Review in 리트코드 스터디 6기 Jan 16, 2026
Copy link
Contributor

@doh6077 doh6077 left a comment

Choose a reason for hiding this comment

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

코드가 깔끔해서 저도 새로운 풀이법을 배웠네요! 이번 한 주도 고생하셨습니다.

reachable[index] = True
destination = index

return reachable[0]
Copy link
Contributor

@doh6077 doh6077 Jan 17, 2026

Choose a reason for hiding this comment

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

안녕하세요 해당 풀이도 잘 풀어주셨는데,
reachable 리스트를 따로 만들지 않고 마지막에 return destination == 0으로 변경할 수 있을거 같아요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

오.. 그런 방법도 좋겠네요! 이 문제같은 경우는 풀 때 고생을 많이 했어서, "목적지부터 시작하여 시작점에서 이를 수 있는가" 라는 도식을 구현하는 데 집중했습니다. 사람의 인식과 효율적인 코드란 다를 수 있음을 새삼 느끼게 되네요.

@TonyKim9401 TonyKim9401 merged commit 6e85d0f into DaleStudy:main Jan 17, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In Review to Completed in 리트코드 스터디 6기 Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

3 participants