일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 프로그래머스
- Class
- 30. Substring with Concatenation of All Words
- 밴픽
- LeetCode
- 컴퓨터의 구조
- Regular Expression
- 715. Range Module
- Convert Sorted List to Binary Search Tree
- Python Code
- 시바견
- shiba
- data science
- Substring with Concatenation of All Words
- 43. Multiply Strings
- Python Implementation
- t1
- 315. Count of Smaller Numbers After Self
- DWG
- Python
- 운영체제
- attribute
- iterator
- Generator
- Decorator
- kaggle
- Protocol
- concurrency
- 109. Convert Sorted List to Binary Search Tree
- 파이썬
Archives
- Today
- Total
목록네트워크 (1)
Scribbling
프로그래머스: 네트워크
그래프의 서로소 판별 문제이다. 아래 알고리즘을 그대로 사용한다. https://focalpoint.tistory.com/12 서로소 집합 알고리즘 v, e = map(int, input().split()) edges = [] for _ in range(e): edges.append(list(map(int, input().split()))) parent = [0] * (v+1) for i in range(v+1): parent[i] = i def find_parent(parent, a): if pa.. focalpoint.tistory.com def solution(n, computers): edges = [] for i in range(n): for j in range(i+1, n): if comput..
Computer Science/Coding Test
2021. 10. 31. 14:51