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 | 31 |
Tags
- GKE
- docker
- LeetCode
- mobaXTerm
- Top-down
- Python
- easy
- cpu scheduling
- GCP
- go
- KAKAO
- kubernetes
- 알고리즘
- Codility
- golang
- 그리디
- 파이썬
- github
- BubbleSort
- 백준
- Kotlin
- 피보나치
- k8s
- Singleton Pattern
- Dynamic Programming
- Backjoon
- Observer Pattern
- java
- Programmers
Archives
- Today
- Total
To Be Developer
[LeetCode] 28. Implement strStr() 본문
class Solution(object): def strStr(self, haystack, needle): """ :type haystack: str :type needle: str :rtype: int """ return haystack.find(needle)
'알고리즘 > LeetCode' 카테고리의 다른 글
[LeetCode] 557. Reverse Words in a String III (0) | 2019.03.24 |
---|---|
[LeetCode] 561. Array Partition I (0) | 2019.03.24 |
[LeetCode] 367. Valid Perfect Square (0) | 2019.03.24 |
[LeetCode] 290. Word Pattern (0) | 2019.03.24 |
[LeetCode] 263. Ugly Number (0) | 2019.03.23 |