求最长回文串

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.

posted @ 2015-12-03 20:28  code_yang  阅读(100)  评论(0编辑  收藏  举报