Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/12907

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

돈의 종류 money가 주어질 때, n원을 만들 수 있는 방법 수 구하기

🔍 풀이 방법

dp사용
점화식 : dp[i][j] = (dp[i - 1][j] + dp[i][j - money[i - 1]])
지금까지 나온 돈의 종류로 현재 금액 j 만드는 경우 +
새로운 돈의 종류로 현재 금액 j 만드는 경우

⏳ 회고

dp.......어렵다

@suyeun84 suyeun84 added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Sep 22, 2025
@suyeun84 suyeun84 merged commit 929fca5 into main Sep 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants