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.
๐ ๋ฌธ์ ๋งํฌ
๊ฐ์ฅ ๊ธด ์ฆ๊ฐํ๋ ๋ถ๋ถ ์์ด
โ๏ธ ์์๋ ์๊ฐ
30๋ถ
โจ ์๋ ์ฝ๋
๋ณด์๋ง์ ๊ฐ์ฅ ๋จผ์ ๋ ์ฌ๋ฆฐ ์๊ฐ์ ์ด์ ์ ๊ฐ๋ค์ ์ ๋ถ ๋ณด๊ณ ์๊ธฐ๋ณด๋ค ์์ผ๋ฉด + 1 ํด์ ์ ๋ฐ์ดํธ ํ๋ฉด ๋์ง ์์๊น? ์๋ค.
์ฒซ ๋ฒ์งธ ์๋
๊ทธ๋ฌ๋ ์ฒซ ๋ฒ์งธ ์๋์์ ์ฌ๋ฌ๊ฐ์ง ๋ฌธ์ ๊ฐ ์์๋ค.
๋ ๋ฒ์งธ ์๋
์ ์ด๋ ๊ฒ ํ๊ณ ๋์ ๋ณด๋ ์ฅ๋ฅด๊ฐ DP ์๋ค.
์์ง...?
์ต์ ์ ํด๋ฅผ ์ฐพ๋ ๊ฒ ๋๋ฌธ์ ๊ทธ๋ฐ ๊ฒ ๊ฐ๋ค๊ณ ์๊ฐ๋๋ค.
๊ธฐ์กด์ ํ์๋ DP ๋ค์ ์ด๋ ๊ฒ ์ด์ ๊ฐ์ ์ ๋ถ ํ์ํ๋ ๊ฒฝ์ฐ๋ ์ ์์๋๋ฐ..
DP ๋ผ๋ฉด ๋ ๊น์ผํ๊ฒ ํธ๋ ๋ฐฉ๋ฒ์ด ์์ง ์์๊น?
์๋์น ์๊ฒ DP ๋ฅผ 3 ์ฐ์ ํ์ด์ ๋น๋ถ๊ฐ DP ๋ ๊ธ์งํด์ผ๊ฒ ๋ค..