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
- point cloud
- attention
- Deeplearning
- center loss
- Object Tracking
- 파이썬
- 프로그래머스
- cv2
- numpy
- flame
- 딥러닝
- reconstruction
- re-identification
- OpenCV
- level2
- transformer
- NLP
- 스택
- Threshold
- deep learning
- Knowledge Distillation
- 자료구조
- Computer Vision
- 큐
- 논문 구현
- 임계처리
- Python
- 3D
- Object Detection
- 알고리즘
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