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 |
Tags
- Kotlin
- 백준
- Observer Pattern
- 파이썬
- BubbleSort
- go
- Backjoon
- golang
- KAKAO
- GKE
- easy
- Python
- k8s
- 알고리즘
- java
- Top-down
- cpu scheduling
- docker
- Singleton Pattern
- Programmers
- github
- GCP
- Dynamic Programming
- 그리디
- Codility
- kubernetes
- LeetCode
- 피보나치
- mobaXTerm
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 |