1332. Remove Palindromic Subsequences Updated: 2024-03-12 1 min read Algorithms , LeetCode On This PageLeetCode problem 1332class Solution: def removePalindromeSub(self, s: str) -> int: return 1 if s[::-1] == s else 2