Skip to content
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

[02주차 김동주] 치즈 (골드 III) #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hepheir
Copy link
Member

@hepheir hepheir commented Oct 21, 2023

🔎 문제 소개

  • 링크: https://boj.kr/2638
  • 제목: 치즈
  • 분류:
    • 구현
    • 시뮬레이션
    • Breadth-first-search
    • Depth-first-search

🖊️ 풀이

  • 시간 복잡도: $O(NM)$
  • 입력의 크기:
    • $N \leq 100$
    • $M \leq 100$

BFS 안에서 DFS를 돌려야하는 재미있는 문제입니다.

상온에서 치즈가 녹는데 걸리는 시간을 구해야하는 문제인데, 얼핏 지뢰찾기랑 비슷한 계열인듯 느껴지나 훨씬 쉬운 문제입니다.


image

@hepheir hepheir changed the title [02주차 김동주] 치즈 <골드3> [02주차 김동주] 치즈 Oct 21, 2023
@hepheir hepheir changed the title [02주차 김동주] 치즈 [02주차 김동주] 치즈 (골드 III) Nov 5, 2023
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.

1 participant