Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Docker
- SW Expert Academy
- 캐치카페
- gs25
- 프로그래머스
- github
- programmers
- Baekjoon
- PYTHON
- 프로그래머스 파이썬
- 금융문자분석경진대회
- 자연어처리
- Git
- 편스토랑
- ChatGPT
- 편스토랑 우승상품
- 더현대서울 맛집
- 우분투
- 코로나19
- 파이썬
- 맥북
- 백준
- hackerrank
- Real or Not? NLP with Disaster Tweets
- AI 경진대회
- 데이콘
- dacon
- Kaggle
- leetcode
- ubuntu
Archives
- Today
- Total
목록
반응형
BaekJoon 5357 파이썬 풀이 (1)
반응형
솜씨좋은장씨
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bWOieX/btrUzkYtQDb/NvMtEtyjXkVsbtk2W4NE5K/img.png)
코딩 1일 1문제! 오늘의 문제는 백준의 Dedupe 입니다. 5357번: Dedupe Redundancy in this world is pointless. Let’s get rid of all redundancy. For example AAABB is redundant. Why not just use AB? Given a string, remove all consecutive letters that are the same. www.acmicpc.net 👨🏻💻 코드 ( Solution ) def dedupe(dup_string): dedupe_string = [dup_string[0]] for word in dup_string[1:]: if word != dedupe_string[-1]: dedupe_..
Programming/코딩 1일 1문제
2022. 12. 26. 17:45
반응형