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 | 29 | 30 | 31 |
Tags
- javascript
- 타입스크립트
- group by
- Python
- Typescript
- SQL 고득점 KIT
- 스택
- 자바스크립트
- level 3
- Dynamic Programming
- dfs
- bfs
- 다이나믹프로그래밍
- Lv. 1
- 프로그래머스
- Lv. 3
- Lv. 0
- programmers
- 너비 우선 탐색
- Lv. 2
- level3
- Stack
- 브루트포스
- 파이썬
- softeer
- C언어
- 문자열
- Java
- DP
- 소프티어
Archives
- Today
- Total
목록Lv. 2 (97)
몸과 마음이 건전한 SW 개발자
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/CBLet/btstRrHZsY7/nQDkyjOJ9VK6J2NhBb9kUk/img.png)
내 코드 & 통과 시간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