The Longest Palindromic
编写一个函数,找出给定字符串中最长的palindromic 子串。尽量提高效率!
如果找到的子串不止一个,则应返回离开头较近的那个。
输入字符串文本。
输出:最长的回文子串。
示例
assert longest_palindromic("abc")...You should be an authorized user in order to see the full description and start solving this mission.