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
- Jpype
- jvm.py
- rest api
- dead lock
- 토픽모델링
- pyLDAvis
- ChromeDriverManager
- bs4
- ELASTIC
- elastic search
- ShallowCopy
- centos8
- gensim
- Pythonic
- Python.h
- MariaDB
- tweepy
- js
- 백준
- bulk post
- Java
- dataframe
- pandas
- KONLPY
- 나무자르기
- 파이썬
- pip install mariadb
- git bash
- 프로그래머스
- 완주하지못한선수
Archives
- Today
- Total
목록시간복잡도 (1)
부리부리부리

https://programmers.co.kr/learn/courses/30/lessons/42576?language=python3 첫 번째 시도 def solution(participant, completions): for i in reversed(range(len(participant))): num_of_completions = completions.count(participant[i]) if num_of_completions != 0: completions.remove(participant[i]) del participant[i] return participant[0] 참가자 명단과 완주자 명단을 비교해가며 완주자 명단에 존재할 시 삭제해나가는 코드 Python에서는 remove 메소드가 최악의 경..
코테/코테 문제풀이
2022. 1. 19. 08:47