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 |
31 |
Tags
- 코로나19
- hackerrank
- 편스토랑
- 캐치카페
- 프로그래머스
- 우분투
- Kaggle
- PYTHON
- Docker
- github
- 금융문자분석경진대회
- 자연어처리
- Git
- 프로그래머스 파이썬
- ubuntu
- 백준
- dacon
- AI 경진대회
- Baekjoon
- 파이썬
- programmers
- 편스토랑 우승상품
- gs25
- SW Expert Academy
- 데이콘
- leetcode
- Real or Not? NLP with Disaster Tweets
- ChatGPT
- 더현대서울 맛집
- 맥북
Archives
- Today
- Total
목록
반응형
Repeated String (1)
반응형
솜씨좋은장씨
[HackerRank] Repeated String (Python)
Lilah has a string, s, of lowercase English letters that she repeated infinitely many times. Given an integer, n, find and print the number of letter a's in the first n letters of Lilah's infinite string. For example, if the string s = 'abcac' and n = 10, the substring we consider is abcacabcac, the first 10 characters of her infinite string. There are 4 occurrences of a in the substring. Functi..
Programming/코딩 1일 1문제
2020. 3. 8. 13:41
반응형