반응형
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
- 클린 코드
- 프로그래머스
- 토익 환급
- 다비드상
- 연필소묘
- 파이썬
- 알고리즘
- 그림
- 웹개발
- 코딩
- 소묘
- Python
- csts
- PrivateRouter
- IT자격증
- Kriss 재택
- 프로그래밍
- leetcode
- clean code
- 코딩테스트
- react
- KSTQB
- 테스팅 자격증
- 색연필
- 미켈란젤로
- IT 자격증
- 재택근무
- 연필
- 취미
- 코드잇
Archives
- Today
- Total
목록알고리즘 스터디 (1)
글모음
[프로그래머스] Python 알고리즘 스터디 - 1주차 Queue & Heap
1주 차 Queue & Heap def solution(progresses, speeds): days = [0] * len(progresses) criteria, cnt = 0, 1 ans = [] for i in range(len(progresses)): while progresses[i] criteria: criteria = days[j] if j == 0: continue ans.append(cnt) cnt = 1 else: cnt += 1 if j == len(days)-1: ans.append(cnt) return an..
알고리즘/프로그래머스
2022. 5. 30. 12:30