본문 바로가기

go.od_planter

검색하기
go.od_planter
프로필사진 go.od_planter

  • 분류 전체보기 (37)
    • 공부해보고 싶은 것 (1)
    • Language (4)
      • Python (4)
    • Study (3)
      • Docker (2)
      • LLM (1)
    • 코딩테스트 (25)
      • Python (12)
      • SQL (13)
    • KT AIVLE (4)
Guestbook
«   2025/08   »
일 월 화 수 목 금 토
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
Archives
Today
Total
반응형
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록leetcode (1)

go.od_planter

[leetcood] 125. Valid Palindrome

class Solution: def isPalindrome(self, s: str) -> bool: # First way strs = [] for char in s: if char.isalnum(): strs.append(char.lower()) # Is Palindrome? while len(strs) > 1: if strs.pop(0) != strs.pop(): return False return True#######################################################..

코딩테스트/Python 2024. 10. 11. 16:34
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바