Skip to content

[sungjinwi] Week07 solution #1478

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

Merged
merged 5 commits into from
May 21, 2025
Merged

[sungjinwi] Week07 solution #1478

merged 5 commits into from
May 21, 2025

Conversation

sungjinwi
Copy link
Contributor

@sungjinwi sungjinwi commented May 15, 2025

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

Copy link
Contributor

Choose a reason for hiding this comment

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

기존 주어진 grid를 그대로 사용하여 방문 여부를 $로 구분하시는것 같은데 추가적인 공간 복잡도가 필요할까요?
저는 O(1) 일것 같은데 궁금합니다!

Copy link
Contributor

Choose a reason for hiding this comment

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

해당 문제는 LinkedList의 특성을 사용하는 문제라고 생각합니다!
이를 잘 활용하면 Stack 없이 while문 하나로 문제 해결이 가능할거에요 :)

Copy link
Contributor

@TonyKim9401 TonyKim9401 left a comment

Choose a reason for hiding this comment

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

7주차 문제 풀이 고생하셨습니다.
절반 정도 달려왔는데 꾸준히 모든 문제를 모두 풀어주셔서 너무 감사드립니다!
LinkedList 문제는 꼭 한번 다시 풀어보시면 좋을것 같아요.
앞으로도 관련 문제가 몇가지 나오거든요.
그럼 8주차 문제 풀이도 파이팅입니다!

@TonyKim9401 TonyKim9401 merged commit 738554e into DaleStudy:main May 21, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from Solving to Completed in 리트코드 스터디 4기 May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants