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 | 29 | 30 |
Tags
- 캐치카페
- Baekjoon
- PYTHON
- 맥북
- 편스토랑
- github
- programmers
- leetcode
- 금융문자분석경진대회
- AI 경진대회
- 편스토랑 우승상품
- 프로그래머스
- hackerrank
- 우분투
- ubuntu
- 백준
- SW Expert Academy
- Docker
- 더현대서울 맛집
- 데이콘
- 코로나19
- gs25
- 파이썬
- 자연어처리
- Kaggle
- ChatGPT
- dacon
- Git
- Real or Not? NLP with Disaster Tweets
- 프로그래머스 파이썬
Archives
- Today
- Total
목록
반응형
Alternating Characters (1)
반응형
솜씨좋은장씨
[HackerRank] String Manipulation : Alternating Characters (Python)
You are given a string containing characters A and B only. Your task is to change it into a string such that there are no matching adjacent characters. To do this, you are allowed to delete zero or more characters in the string. Your task is to find the minimum number of required deletions. For example, given the string s = AABAAB, remove an A at positions 0 and 3 to make s = ABAB in 2 deletions..
Programming/코딩 1일 1문제
2020. 3. 26. 19:30
반응형