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
- Lv. 3
- 너비 우선 탐색
- Lv. 2
- DP
- Dynamic Programming
- join
- SQL 고득점 KIT
- Lv. 0
- 오블완
- select
- Lv. 1
- Baekjoon
- softeer
- javascript
- 티스토리챌린지
- Python
- Java
- programmers
- 백준
- LEVEL 2
- 소프티어
- level 3
- dfs
- SQL
- group by
- 자바스크립트
- 깊이 우선 탐색
- bfs
- 프로그래머스
- 파이썬
Archives
- Today
- Total
목록후보키 (1)
몸과 마음이 건전한 SW 개발자

내 코드 & 통과 시간isValid = Truedef solution(relation): cols = len(relation[0]) rows = len(relation) combination = [] def dfs(S, V, cnt, cols): if S == cols: if cnt: combination.append(V) return dfs(S+1, V+[S], cnt+1, cols) dfs(S+1, V, cnt, cols) dfs(0, [], 0, cols) unique = [] for comb in combination: tmp = ..
알고리즘
2023. 9. 12. 17:53