https://leetcode.com/problems/longest-palindromic-substring/ Given a string s, return the longest palindromic class Solution: def longestPalindrome(self, s: str) -> str: r: int = 0 c: int = 0 maxLen = 1 result = s[0] s = '#' + '#'.join(s) + '#' dp = [0 for _ in range(len(s))] for idx in range(len(dp)): if idx =0 and idx + dp[idx] + 1..