์ฌ๊ทํจ์
์๊ธฐ ์์ ์ ํธ์ถํ๋ ํจ์
์ฌ๊ทํจ์ ์๋ํ ๋ ์คํ ์๋ฃ๊ตฌ์กฐ๋ฅผ ์ฌ์ฉ
๋ฐ๋ณต๋ฌธ์ ํจ๊ณผ๋ฅผ ๋ผ ์ ์๋ค (๋ฐ๋ณต๋ฌธ์ ๋์ฒด, 3์ค4์ค for๋ฌธ )
์ถ๋ ฅ ํ ์ฌ๊ทํจ์ ํธ์ถ
์ฌ๊ทํจ์ ํธ์ถ ํ ์ถ๋ ฅ
1์ ๋ฐํํ๋ฉฐ ์ด์ ์ return ํ์๋ ๊ฐ๋ค์ ๊ณฑํ ๋ค
๋ค์ ๋ฐํํด๊ฐ๋ ๊ณผ์ ์ ๊ฑฐ์นฉ๋๋ค
https://m.blog.naver.com/jsky10503/221248164066
'Algorithm > ํ์ด์ฌ ์ฝ๋ฉํ ์คํธ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
DFS(๊น์ด์ฐ์ ํ์)๊ธฐ์ด - 1. ์ด์งํธ๋ฆฌ ์ํ(๊น์ด์ฐ์ ํ์) (0) | 2023.02.07 |
---|---|
DFS(๊น์ด์ฐ์ ํ์)๊ธฐ์ด - 1. ์ฌ๊ทํจ์๋ฅผ ์ด์ฉํ ์ด์ง์ ์ถ๋ ฅ (0) | 2023.02.06 |
์๋ฃ๊ตฌ์กฐ ํ์ฉ (ํ) - 11. ์ต๋ํ (0) | 2023.02.06 |
์๋ฃ๊ตฌ์กฐ ํ์ฉ (ํ) - 10. ์ต์ํ (0) | 2023.02.06 |
์๋ฃ๊ตฌ์กฐ ํ์ฉ (ํด์ฌ) - 9. Anagram ์๋๊ทธ๋จ (0) | 2023.02.05 |