摘要: 转自:http://www.felix021.com/blog/read.php?2040源于这两篇文章: http://blog.csdn.net/ggggiqnypgjg/article/details/6645824http://zhuhongcheng.wordpress.com/2009/08/02/a-simple-linear-time-algorithm-for-finding-longest-palindrome-sub-string/这个算法看了三天,终于理解了,在这里记录一下自己的思路,免得以后忘了又要想很久- -.首先用一个非常巧妙的方式,将所有可能的奇数/偶数长度的回 阅读全文
posted @ 2013-08-07 11:43 Heisenbug 阅读(177) 评论(0) 推荐(0) 编辑