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 |
Tags
- programmers
- 프로그래머스 파이썬
- dacon
- 편스토랑 우승상품
- PYTHON
- hackerrank
- 파이썬
- 우분투
- Docker
- leetcode
- 프로그래머스
- gs25
- AI 경진대회
- Baekjoon
- 캐치카페
- ubuntu
- ChatGPT
- 맥북
- 코로나19
- 편스토랑
- 자연어처리
- Kaggle
- 백준
- 데이콘
- Git
- 더현대서울 맛집
- SW Expert Academy
- 금융문자분석경진대회
- Real or Not? NLP with Disaster Tweets
- github
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
반응형