5_Longest Palindromic Substring
5. Longest Palindromic Substring
Question
Given a string s, find the longest palindromic substring in s.
You may assume that the maximum length of s is 1000.Idea: (expand around center, dynamic programming)
Complexity
Solution: (bottom-up)
Last updated