728x90 [Python] Longest Palindromic Substring - LeetCode 5. Longest Palindromic Substring Longest Palindromic Substring - 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 Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output: "bab" Note: "aba" is also a valid answer. 2: Input: s = "cbbd" Out.. 2021. 9. 23. 이전 1 다음 728x90