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
- 특정컬럼
- engagement
- 코테
- WAU
- 데이터가공
- 이전행
- 데이터
- row추가
- 그룹
- Python
- GTM
- categorical
- 리텐션
- data
- 표본
- 데이터분석
- onehot
- ABTest
- pvalue
- dataanalysis
- 그로스마케터
- SQL
- 전처리
- dataanalyst
- sql로데이터
- INSERTINTO
- 통계
- DAU
- warehouser
- 데이터분석가
Archives
- Today
- Total
목록코딩테스트(python) (1)
Meiren

파이썬 안쓰다가 4개월만에 하려니까 기본 문법부터 다 틀린다. 정신체리 그리고 시간초과해서 .... 노답 1. 문제 2. 틀린 내 코드 def solution(ingredient): answer = 0 ingrd = ''.join(str(e) for e in ingredient) while '1231' in ingrd: answer += 1 ingrd = ingrd.replace('1231','', 1) return answer 3. 통과한 내 코드 구글링함... pop쓰는 걸 습관화 해야 할 듯 4. 다른 통과 코드들 def solution(ingredient): answer = 0 s = [] for i in ingredient: s.append(i) if s[-4:] == [1, 2, 3, 1]: ..
코딩테스트(python)
2022. 11. 1. 17:11