Conversation
Closed
|
우측에 있는 |
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.
Day-20 / 김지호
문제 번호
BFS 개념좀 복습하고 삼성 코테랑 비슷하길래 정형화된 패턴에 대해 공부했음~
할만한 문젠데 개념 복습하냐고 시간 다써서 한문제만~
(Optional) 공유하고 싶은 내용
필요하지 않은 경우의 수에 대해서는 BFS할 필요가 없다.
-> 검증이 필요한 곳에서만 BFS를 쪼개서 할 수 있다.
2차원 배열 bfs (정형화된 패턴)
dx dy로 방향 배열을 선언하고,
nrow, ncol을 만드는 식으로 작성