Conversation
Mingguriguri
approved these changes
Jun 22, 2025
Hongjoo/백준/숨박꼭질2.py
Outdated
Comment on lines
+1
to
+16
Collaborator
There was a problem hiding this comment.
지난 주 풀이도 함께 올려주셨네요! 👍
지난 주 발제자료로 다양한 풀이를 추가해두었는데 참고해주세요!
https://github.com/AlgorithmStudy-Allumbus/codingtest_algorithm_study/blob/main/_WeeklyChallenges/W26-%5BGraph-BFS%5D/Study_BOJ_12851_%EC%88%A8%EB%B0%94%EA%BC%AD%EC%A7%882.py
Hongjoo/백준/숨박꼭질.py
Outdated
Comment on lines
+21
to
+32
Collaborator
There was a problem hiding this comment.
혹시 여기서 왜 2중 for문을 쓰셨는지 알 수 있을까요???
Collaborator
There was a problem hiding this comment.
YoonYn9915
approved these changes
Jun 22, 2025
Member
YoonYn9915
left a comment
There was a problem hiding this comment.
전반적으로 발제문제와 과제문제에서 아이디어를 잘 떠올리셨고 로직에 따라 명확한 코드를 작성해주신 것 같습니다!
한 주 수고하셨습니다~
Hongjoo/백준/숨바꼭질3.py
Outdated
Comment on lines
+26
to
+40
Member
There was a problem hiding this comment.
큐에 좌표만 넣고 시간은 visited 배열에 따로 관리하면서 깔끔하고 가독성 좋은 코드가 된것 같습니다. 👍
Hongjoo/백준/숨바꼭질3.py
Outdated
Comment on lines
+11
to
+15
Member
There was a problem hiding this comment.
저는 이번 문제에 이 순간이동 관련한 아이디어를 떠올리기가 힘들었는데... 잘 생각해서 정리해주신것 같아요!
🔥2025-06 챌린지 진행 상황👉 그래프
👉 구현
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🌱WIL
🚀주간 목표 문제 수: 4개
백준 #14226. 이모티콘: 그래프/ 골드4
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
백준 #13549. 숨바꼭질3: 그래프/ 골드5
정리한 링크: (바로가기)
🚩플로우 (선택)
입력 변수 입력하기
BFS 탐색 시 순간이동을 우선순위를 둠
→ for문 탐색시 , 2*n >> n-1, n+1 순으로 탐색
배열 visited에 도착 시간 업로드
🚩제출한 코드
백준 #12851. 숨바꼭질2: 그래프/ 골드4
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
백준 #1697. 숨바꼭질: 그래프/ 실버1
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
프로그래머스 #17680. 캐시: 구현 / lv2
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
##백준 #13913. 숨바꼭질4: 그래프 / 골드4
정리한 링크: (바로가기)
🚩플로우 (선택)
[1] BFS을 활용해 최단 시간 찾기
[2] 최단 시간을 가진 “경로” 출력하기
visited 내의 출발지 cx 을 통해 최종 도착지 K 로 부터 최초 출발지 N 까지의 경로를 역추적함
ex) 5 ,17
visited[17] = [ 4, 18]
visited[18] = [3, 9]
visited[9] = [2 , 10]
visited[10] = [1, 5 ]
visited[5] = [0,5]
🚩제출한 코드
프로그래머스 #12911. 다음 큰 숫자: 구현 / lv2
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드