Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Java
- LEVEL 2
- 깊이 우선 탐색
- join
- 너비 우선 탐색
- DP
- 자바스크립트
- 백준
- Baekjoon
- softeer
- 소프티어
- 티스토리챌린지
- Lv. 1
- select
- 오블완
- Lv. 3
- group by
- 파이썬
- 프로그래머스
- SQL 고득점 KIT
- level 3
- bfs
- javascript
- SQL
- Python
- dfs
- Dynamic Programming
- Lv. 2
- programmers
- Lv. 0
Archives
- Today
- Total
목록12919 (1)
몸과 마음이 건전한 SW 개발자

문제 링크https://www.acmicpc.net/problem/12919정답 코드s = input()t = input()lenS = len(s)lenT = len(t)answer = 0def isIncluded(arr): normarlString = "".join(arr) reversString = "".join(arr[::-1]) return normarlString in t or reversString in tdef dfs(length, arr): global answer if answer: return if length == lenT: string = "".join(arr) if string == t: an..
알고리즘
2025. 2. 7. 16:36