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 |
Tags
- attention
- 자료구조
- reconstruction
- Computer Vision
- OpenCV
- numpy
- 파이썬
- 스택
- center loss
- cv2
- 논문 구현
- 알고리즘
- flame
- 프로그래머스
- 큐
- transformer
- deep learning
- 3D
- 임계처리
- re-identification
- Python
- Deeplearning
- Threshold
- NLP
- Object Detection
- 딥러닝
- point cloud
- level2
- Object Tracking
- Knowledge Distillation
Archives
- Today
- Total
목록분류 전체보기 (50)
공돌이 공룡의 서재

해시(Hash) 구조: 어떤 값을 찾고자 할 때 쓰고 고유한 key와 그 key에 해당하는 값이 저장되는 구조다. Big-O로는 O(1) 에 해당한다. 파이썬에서는 dictionary로 이를 구현할 수 있다. def solution(participant, completion): runners = {} for runner in participant:# 이름(key) - 동명이인 수(value) dictionary if runner not in runners: runners[runner] = 1 else: runners[runner] += 1 for runner in completion: runners[runner] += -1 if runners[runner] == 0: del runners[runner] ..
코딩/프로그래머스
2020. 7. 4. 15:51