码迷,mamicode.com
首页 > 其他好文 > 详细

[Leetcode] Longest Palindromic Substring

时间:2014-09-30 17:19:19      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:io   sp   c   on   r   bs   as   leetcode   dp   

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.

 

Solution 1: DP

 

[Leetcode] Longest Palindromic Substring

标签:io   sp   c   on   r   bs   as   leetcode   dp   

原文地址:http://www.cnblogs.com/Phoebe815/p/4001898.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!