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
- AI 경진대회
- Kaggle
- Real or Not? NLP with Disaster Tweets
- Baekjoon
- 맥북
- dacon
- Git
- Docker
- 백준
- 우분투
- 프로그래머스 파이썬
- 데이콘
- 자연어처리
- leetcode
- github
- 프로그래머스
- programmers
- hackerrank
- 금융문자분석경진대회
- 파이썬
- 편스토랑
- gs25
- 편스토랑 우승상품
- PYTHON
- 더현대서울 맛집
- ubuntu
- 캐치카페
- 코로나19
- SW Expert Academy
- ChatGPT
Archives
- Today
- Total
목록
반응형
Valid Palindrome (1)
반응형
솜씨좋은장씨
[leetCode] 125. Valid Palindrome (Python)
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, we define empty string as valid palindrome. Example 1: Input: "A man, a plan, a canal: Panama" Output: true Example 2: Input: "race a car" Output: false Solution import re class Solution: def isPalindrome(self, s: str) -> bool: s = s.lower() text = ..
Programming/코딩 1일 1문제
2020. 6. 16. 18:11
반응형