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
- gs25
- 코로나19
- 금융문자분석경진대회
- ChatGPT
- 백준
- leetcode
- 파이썬
- Git
- 프로그래머스
- Real or Not? NLP with Disaster Tweets
- 데이콘
- hackerrank
- 맥북
- ubuntu
- dacon
- 프로그래머스 파이썬
- Baekjoon
- github
- 더현대서울 맛집
- PYTHON
- 자연어처리
- SW Expert Academy
- 편스토랑 우승상품
- 편스토랑
- AI 경진대회
- Kaggle
- 우분투
- 캐치카페
- Docker
- programmers
Archives
- Today
- Total
목록
반응형
28. Implement strStr() (1)
반응형
솜씨좋은장씨
[leetCode] 28. Implement strStr() (Python)
Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystack = "hello", needle = "ll" Output: 2 Example 2: Input: haystack = "aaaaa", needle = "bba" Output: -1 Clarification: What should we return when needle is an empty string? This is a great question to ask during an interview. For the purpose of this p..
Programming/코딩 1일 1문제
2020. 9. 10. 00:15
반응형