[이준희-13주차 알고리즘 스터디] #22
Open
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반 알고리즘 스터디 13주차 [이준희]
📌 문제 풀이 개요
✅ 문제 해결 여부
💡 풀이 방법
문제 1: 스티커
문제 난이도
실버 1
문제 유형
DP
접근 방식 및 풀이
n번째 칸의 스티커를 선택할 때 n-2번째와 n-1번째칸을 고려하여 dp 계산하였습니다.
문제 2: 곱셈
문제 난이도
실버 1
문제 유형
수학
접근 방식 및 풀이
제곱을 분할하고 나머지 공식을 활용하는 문제였습니다. 컴퓨팅사고력 시간에 배운 내용을 활용하였습니다.
문제 3: 후위 표기식
문제 난이도
골드 2
문제 유형
자료구조
접근 방식 및 풀이
숫자 숫자 연산자 로 나와야 되는 후위 표기법과 사칙연산 순서에 따라 구현했습니다.
문제 4: 벽 부수고 이동하기
문제 난이도
골드 3
문제 유형
그래프
접근 방식 및 풀이
벽을 부수는 경우와 부수지 않는 경우를 고려하여 3차원 visited 배열을 사용하여 풀었습니다.
문제 5 : 숨바꼭질 3
문제 난이도
골드 5
문제 유형
그래프
접근 방식 및 풀이
bfs와 같은 방식을 풀되 가중치를 0과 1로 한 0-1 bfs를 활용했습니다
문제 6 : 웜홀
문제 난이도
골드 3
문제 유형
그래프
접근 방식 및 풀이
벨만-포드 알고리즘에 대해 학습 후 풀이하겠습니다