[이준희-9주차 알고리즘 스터디]#10
Open
JHLEE325 wants to merge 16 commits intoSSAFY13th-algorithm:junhee325/week9from
Open
Conversation
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.
🚀 싸피 15반 알고리즘 스터디 9주차 [이준희]
📌 문제 풀이 개요
✅ 문제 해결 여부
💡 풀이 방법
문제 1: 유기농 배추
문제 난이도
실버 2
문제 유형
그래프
접근 방식 및 풀이
배추가 심어져 있는 구역의 갯수를 구하는 문제였습니다.
bfs를 활용하여 풀었습니다.
문제 2: DFS와 BFS
문제 난이도
실버 2
문제 유형
그래프
접근 방식 및 풀이
노드와 간선의 정보를 이용하여 DFS와 BFS로 탐색하는 문제였습니다.
n이 크지 않아 인접행렬을 이용하여 문제를 풀었습니다.
문제 3: 숨바꼭질
문제 난이도
실버 1
문제 유형
그래프
접근 방식 및 풀이
0 ~ 100000 좌표 내에서 특정 위치에서 출발하여 도착지까지 걸리는 시간을 구하는 문제였습니다.
bfs를 이용하고 각 시간별로 bfs를 시행하여 각 좌표에 도착하는 시간을 기록한 후
최종적으로 그 좌표의 시간을 출력하였습니다.
문제 4: 적록색약
문제 난이도
골드 4
문제 유형
그래프
접근 방식 및 풀이
Red, Green, Blue로 이루어진 행렬에서 적록색약과 일반인이 보는 구역의 수를 각각 출력하는 문제였습니다.
적록색약과 일반인의 각각의 행렬과 각각의 bfs를 구현하여 풀었습니다.
문제 5: 플로이드
문제 난이도
골드 4
문제 유형
다익스트
접근 방식 및 풀이
도시들과 그 도시들을 이동하는 버스의 가격을 입력받아 모든 위치에서 다른 모든위치로의 모든 가격을 파악하는 문제였습니다.
플로이드 워셜 알고리즘을 사용하는 문제였습니다.