Skip to content

Conversation

@zinnnn37
Copy link
Contributor

@zinnnn37 zinnnn37 commented Jan 3, 2026

🧷 문제 링크

주난의 난

🧭 풀이 시간

10분

👀 체감 난이도

✏️ 문제 설명

주난이가 한 번 점프하면 친구 한 겹을 쓰러트릴 수 있음
초코바를 훔쳐간 친구에 도달하기까지 몇 번 점프 해야할까?

🔍 풀이 방법

0-1 BFS

⏳ 회고

가중치가 0 또는 1이라 재방문 했을 때 더 짧은 경로로 도달할 수 있어서 dist 배열을 둬야 하고 그래서 다익스트라 태그도 들어가는 것

@ShinHeeEul ShinHeeEul merged commit be25558 into main Jan 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants