leetcode 125
-
125. Valid PalindromeProgramming/leetcode 2021. 1. 21. 09:06
leetcode.com/problems/valid-palindrome/ Valid Palindrome - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 난이도 Easy 일명 '회문'으로 문제 ex) abba -> true abbc -> false 다만, 문제에서는 알파벳과 숫자만 취급하므로 그에 따른 처리가 필요하다. 풀이 def isPalindrome(s:str)->bool: #전통적인 for문 이용 i, j = 0, len(s)-1 while i